Skip to content

Commit

Permalink
Merge pull request #361 from LucienShui/fix/timezone
Browse files Browse the repository at this point in the history
Fix timezone in docker
  • Loading branch information
LucienShui authored Mar 12, 2021
2 parents 96b57a0 + 192ac88 commit ceb6db6
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 ceb6db6

Please sign in to comment.