diff --git a/Dockerfile b/Dockerfile index 9a36cd3..51449ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,4 +2,7 @@ FROM openjdk:8u292-jre-buster ARG JAR_FILE=/target/*.jar COPY ${JAR_FILE} system-card.jar COPY fonts/ /usr/share/fonts -ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/system-card.jar"] \ No newline at end of file +ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/system-card.jar"] + +# 时区问题 +RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone \ No newline at end of file