Commit 5855abe liq
committed
1 parent 345bd5d commit 5855abe Copy full SHA for 5855abe
File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ ENV APP_WEB_URL=http://127.0.0.1:3000
37
37
EXPOSE 5001
38
38
39
39
# set timezone
40
- ENV TZ=UTC
40
+ ENV TZ=Asia/Shanghai
41
41
42
42
WORKDIR /app/api
43
43
@@ -69,7 +69,4 @@ RUN chmod +x /entrypoint.sh
69
69
ARG COMMIT_SHA
70
70
ENV COMMIT_SHA=${COMMIT_SHA}
71
71
72
- RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
73
- RUN echo 'Asia/Shanghai' >/etc/timezone
74
-
75
72
ENTRYPOINT ["/bin/bash" , "/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ ENV PORT=3000
42
42
ENV NEXT_TELEMETRY_DISABLED=1
43
43
44
44
# set timezone
45
- ENV TZ=UTC
45
+ ENV TZ=Asia/Shanghai
46
46
RUN ln -s /usr/share/zoneinfo/${TZ} /etc/localtime \
47
47
&& echo ${TZ} > /etc/timezone
48
48
You can’t perform that action at this time.
0 commit comments