pollutant-data/Dockerfile-jnhb

7 lines
289 B
Plaintext
Raw Normal View History

FROM openjdk:8u292-jre-buster
ARG JAR_FILE=/target/*.jar
COPY ${JAR_FILE} pollutant-data.jar
2021-08-19 18:34:30 +08:00
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=jnhb","/pollutant-data.jar"]
# 时区问题
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone