wlcb-smart-city-usercenter/Dockerfile

9 lines
305 B
Docker
Raw Normal View History

2021-11-05 00:44:13 +08:00
FROM openjdk:8u292-jre-buster
ARG JAR_FILE=/target/*.jar
COPY ${JAR_FILE} smart-city-usercenter.jar
2021-12-31 10:39:08 +08:00
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/smart-city-usercenter.jar"]
2021-11-05 00:44:13 +08:00
# 时区问题
2021-12-27 20:29:10 +08:00
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone