diff --git a/Dockerfile b/Dockerfile index 76b244d..6d8133d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,8 @@ WORKDIR ${WORK_PATH} # 从构建阶段复制二进制文件 COPY --from=builder ${WORK_PATH}/main . -COPY --from=0 ${WORK_PATH}/config/config.yaml . +COPY --from=0 ${WORK_PATH}/config/config.yaml ./config/ +COPY --from=0 ${WORK_PATH}/config/google.xdb ./config/ # 暴露端口 EXPOSE 80 @@ -30,4 +31,4 @@ EXPOSE 80 # ENTRYPOINT ./main -c config.docker.toml ############################################### -CMD ["./main","-c","config.yaml"] \ No newline at end of file +CMD ["./main","-c","./config/config.yaml"] \ No newline at end of file