Dockerfile 237 B

1234567
  1. FROM ff-registry:5000/java:8-jre-alpine as didi
  2. ENV TZ="Asia/Shanghai" PRO_ENV=pro
  3. ADD ./target/didi-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} "]