|
@@ -22,14 +22,13 @@ ENV TZ="Asia/Shanghai" |
|
|
ENV PHONE_DATA_DIR="./static/bat" |
|
|
ENV PHONE_DATA_DIR="./static/bat" |
|
|
|
|
|
|
|
|
COPY static/html static/html |
|
|
COPY static/html static/html |
|
|
COPY static/bat static/bat |
|
|
|
|
|
|
|
|
|
|
|
# 时区纠正 |
|
|
# 时区纠正 |
|
|
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 |
|
|
# 在build阶段复制可执行的go二进制文件app |
|
|
# 在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 |
|
|
COPY --from=build /go/release/etc/task.yml /var/zyos/task.yml |
|
|
|
|
|
|
|
|