1234567 |
- FROM rpi.it5000.com:5000/java:8-jre-alpine
- ENV PRO_NAME=pdms-oss PRO_ENV=dev TZ="Asia/Shanghai"
- ADD ./target/pdms-oss-api-0.0.1-SNAPSHOT.jar /home/App.jar
- CMD ["/bin/sh","-c","/usr/bin/java -server -jar /home/App.jar --spring.profiles.active=${PRO_ENV} --spring.application.name=${PRO_NAME}"]
|