huangjiajun 1 month ago
parent
commit
6763dd7cdb
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      Dockerfile-task

+ 1
- 2
Dockerfile-task View File

@@ -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



Loading…
Cancel
Save