Skip to content

Commit

Permalink
Fix timezone in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienShui committed Mar 12, 2021
1 parent f953c7f commit 192ac88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM nginx:1.18-alpine
LABEL maintainer="Lucien Shui" \
email="lucien@lucien.ink"

ENV TZ=Asia/Shanghai
COPY init.sh /temp
RUN cat /docker-entrypoint.sh >> /temp && \
mv /temp /docker-entrypoint.sh && \
Expand Down

0 comments on commit 192ac88

Please sign in to comment.