修改DockerFile文件
This commit is contained in:
parent
43f78fb688
commit
4fae1ebd3c
@ -21,7 +21,8 @@ WORKDIR ${WORK_PATH}
|
|||||||
|
|
||||||
# 从构建阶段复制二进制文件
|
# 从构建阶段复制二进制文件
|
||||||
COPY --from=builder ${WORK_PATH}/main .
|
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
|
EXPOSE 80
|
||||||
@ -30,4 +31,4 @@ EXPOSE 80
|
|||||||
# ENTRYPOINT ./main -c config.docker.toml
|
# ENTRYPOINT ./main -c config.docker.toml
|
||||||
|
|
||||||
###############################################
|
###############################################
|
||||||
CMD ["./main","-c","config.yaml"]
|
CMD ["./main","-c","./config/config.yaml"]
|
Loading…
Reference in New Issue
Block a user