Skip to content

Commit 7d4a34f

Browse files
author
liq
committed
feat: dockerfile设置为上海时区
1 parent 0e68a96 commit 7d4a34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ ENV APP_WEB_URL=http://127.0.0.1:3000
3636

3737
EXPOSE 5001
3838

39-
# set timezone
4039
ENV TZ=Asia/Shanghai
40+
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
4141

4242
WORKDIR /app/api
4343

0 commit comments

Comments
 (0)