fix: mount config directory instead of file for Docker Compose
Build and Push to GHCR / build-and-push (push) Has been cancelled
Build and Push to GHCR / build-and-push (push) Has been cancelled
- Add CONFIG_PATH env support to avoid Docker creating config.json as a directory - Config Save() now auto-creates parent directories - Update docker-compose.yml to mount ./config:/app/config - Update README deployment docs accordingly
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ RUN apk --no-cache add ca-certificates
|
||||
WORKDIR /app
|
||||
|
||||
# 创建必要目录
|
||||
RUN mkdir -p web/static cache
|
||||
RUN mkdir -p web/static cache config
|
||||
|
||||
# 复制编译后的二进制文件和静态资源
|
||||
COPY --from=builder /app/mirror-proxy .
|
||||
|
||||
Reference in New Issue
Block a user