Browse Source

配置

master
huangjiajun 1 week ago
parent
commit
1182bc3d5c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Dockerfile-prd

+ 4
- 0
Dockerfile-prd View File

@@ -24,6 +24,10 @@ COPY static/html static/html
RUN rm -f /etc/localtime \ RUN rm -f /etc/localtime \
&& ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ && ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone && echo "Asia/Shanghai" > /etc/timezone

# 更新 CA 证书库
RUN apt-get update && apt-get install -y ca-certificates

# 在build阶段复制可执行的go二进制文件app # 在build阶段复制可执行的go二进制文件app
COPY --from=build /go/release/egg ./egg COPY --from=build /go/release/egg ./egg




Loading…
Cancel
Save