huangjiajun hace 2 meses
padre
commit
6763dd7cdb
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      Dockerfile-task

+ 1
- 2
Dockerfile-task Ver fichero

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



Cargando…
Cancelar
Guardar