xz-szwhy/Dockerfile
LiuY 66f24a575e 1.新增闸机出入记录功能
2。新闻版块发布权限选人插件重新新作
3.其他功能bug修改
2023-03-09 17:14:02 +08:00

8 lines
336 B
Docker

FROM openjdk:8u292-jre-buster
ARG JAR_FILE=/target/*.jar
COPY ${JAR_FILE} xz-szwhy-0.0.1-SNAPSHOT.jar
COPY fonts/ /usr/share/fonts
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=prod","/xz-szwhy-0.0.1-SNAPSHOT.jar"]
# 时区问题
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone