diff --git a/Dockerfile b/Dockerfile index f487862..dd47ea9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,5 +18,7 @@ EXPOSE 9000 VOLUME ["/app/data"] ENV FLASK_DEBUG=0 +ENV TZ=Asia/Shanghai +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone CMD ["python", "run.py"]