1、Dockerfile 设置 ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dspring.profiles.active=pro","-Duser.timezone=GMT+8","-jar","/app.jar"]
2、docker启动脚本中设置 -e "TZ=Asia/Shanghai"
-e "TZ=Asia/Shanghai"