Merge remote-tracking branch 'origin/main'

This commit is contained in:
ly19960718 2021-08-26 11:05:40 +08:00
commit b998dc3f3a

View File

@ -1,4 +1,7 @@
FROM openjdk:8u292-jre-buster
ARG JAR_FILE=/target/*.jar
COPY ${JAR_FILE} pollutant-data.jar
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=jnhb","/pollutant-data.jar"]
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