Dockerfile 208 B

1234567
  1. FROM nas.fast-fun.cn:5000/common/java:8-jre-alpine
  2. ENV OP_ENV=prod
  3. COPY ./target/zk-station-server-1.0-SNAPSHOT.jar /home/App.jar
  4. CMD ["java", "-jar", "/home/App.jar", "--spring.profiles.active=${OP_ENV}"]