Skip to content

Commit

Permalink
修复 php 时区问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mokeyjay committed Dec 11, 2023
1 parent 96d8295 commit d22879a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ RUN chmod 0644 /etc/cron.d/pixiv-cron-job && \
crontab /etc/cron.d/pixiv-cron-job

ENV TZ=Asia/Shanghai
RUN echo 'date.timezone = "Asia/Shanghai"' > $PHP_INI_DIR/conf.d/timezone.ini

LABEL Author="mokeyjay<[email protected]>"
LABEL Version="2023.11.20"
LABEL Version="2023.12.11"
LABEL Description="Pixiv 每日排行榜小挂件"

CMD cron && \
Expand Down

0 comments on commit d22879a

Please sign in to comment.