Dockerfile 245 B

123456789
  1. FROM nas.fast-fun.cn:5000/common/java:8-jre
  2. ENV PRO_ENV=prod
  3. #RUN mkdir -p /home/download/excel
  4. COPY ./target/zhili-station-server-v2-1.0-SNAPSHOT.jar /home/App.jar
  5. CMD ["java", "-jar", "/home/App.jar", "--spring.profiles.active=${PRO_ENV}"]