Dockerfile 296 B

1234567
  1. FROM nas.fast-fun.cn:5000/java:8-jre-alpine
  2. ENV PRO_NAME=pdms-oss PRO_ENV=dev TZ="Asia/Shanghai"
  3. ADD ./target/pdms-oss-api-0.0.1-SNAPSHOT.jar /home/App.jar
  4. CMD ["/bin/sh","-c","/usr/bin/java -server -jar /home/App.jar --spring.profiles.active=${PRO_ENV} --spring.application.name=${PRO_NAME}"]