|
@@ -1,18 +1,8 @@
|
|
-FROM docker-registry-registry.cn-shanghai.cr.aliyuncs.com/hozon-dev/java:8-jre-alpine
|
|
|
|
-
|
|
|
|
-ENV PRO_NAME=hz-admin PRO_ENV=dev TZ="Asia/Shanghai" PRO_APM_KEY="gnujin0rhs@4ab4cae1af883da"
|
|
|
|
|
|
+FROM registry.cn-hangzhou.aliyuncs.com/docker-zhili/java:8-alpine
|
|
|
|
|
|
|
|
+ENV PRO_NAME=hz-admin PRO_ENV=dev TZ="Asia/Shanghai"
|
|
WORKDIR /home
|
|
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
|
|
|
|
|
|
+ADD ./hz-admin/target/hz-admin.jar /home/hz-admin.jar
|
|
|
|
|
|
-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"]
|
|
|
|
|
|
+RUN mkdir -p /home/uploadPath/upload
|