fix: 移除Dockerfile中复制config.yaml

config.yaml被复制到镜像中,导致checkConfigFile()始终返回true。
安装向导应该自己创建配置文件,不依赖镜像内置的默认配置。
This commit is contained in:
2026-05-03 16:49:30 +08:00
parent 6293b405ed
commit 8e7848e573
2 changed files with 472 additions and 1 deletions
-1
View File
@@ -40,7 +40,6 @@ RUN addgroup -g 1001 -S appgroup && \
WORKDIR /app
COPY --from=backend-builder /app/main .
COPY --from=backend-builder /app/config.yaml .
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh && \