huangjiajun 1 mês atrás
pai
commit
6763dd7cdb
1 arquivos alterados com 1 adições e 2 exclusões
  1. +1
    -2
      Dockerfile-task

+ 1
- 2
Dockerfile-task Ver arquivo

@@ -22,14 +22,13 @@ ENV TZ="Asia/Shanghai"
ENV PHONE_DATA_DIR="./static/bat"

COPY static/html static/html
COPY static/bat static/bat

# 时区纠正
RUN rm -f /etc/localtime \
&& ln -sv /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone
# 在build阶段复制可执行的go二进制文件app
COPY --from=build /go/release/zyos_order_task ./zyos_order_task
COPY --from=build /go/release/community_team_task ./community_team_task

COPY --from=build /go/release/etc/task.yml /var/zyos/task.yml



Carregando…
Cancelar
Salvar