docker 文件中 添加时区
This commit is contained in:
parent
ad1721c443
commit
d1c9232ff5
@ -3,3 +3,6 @@ ARG JAR_FILE=/target/*.jar
|
|||||||
COPY ${JAR_FILE} system-card.jar
|
COPY ${JAR_FILE} system-card.jar
|
||||||
COPY fonts/ /usr/share/fonts
|
COPY fonts/ /usr/share/fonts
|
||||||
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/system-card.jar"]
|
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
|
Loading…
Reference in New Issue
Block a user