123456789101112131415161718 |
- FROM nas.fast-fun.cn:5000/java:8-jre-alpine
- ENV PRO_NAME=hz-admin PRO_ENV=dev TZ="Asia/Shanghai" PRO_APM_KEY="gnujin0rhs@4ab4cae1af883da"
- WORKDIR /home
- # 华东2 上海arms
- ADD ./doc/ArmsAgent.tar /home/agent/
- ADD ./hz-admin/target/hz-admin.jar /home/App.jar
- RUN mkdir -p /home/uploadPath/upload
- CMD ["/bin/sh","-c","/usr/bin/java -server -jar /home/App.jar \
- --spring.application.name=${PRO_NAME} \
- --spring.profiles.active=${PRO_ENV} \
- -Darms.licenseKey=${PRO_APM_KEY} -Darms.appName=${PRO_NAME} \
- -javaagent:/home/agent/arms-bootstrap-1.7.0-SNAPSHOT.jar"]
|