Commit 69f6fb9f by shenggui.li

Update Dockerfile

parent 46a5de83
Pipeline #2013 canceled with stages
in 3 minutes 32 seconds
......@@ -9,6 +9,7 @@ FROM 502302443508.dkr.ecr.cn-north-1.amazonaws.com.cn/mobdna:latest
#RUN DK_CLOUD_PROVIDER="aws" DK_INSTALL_ONLY="true" DK_DATAWAY="https://aws-openway.guance.com?token=tkn_6e86d42e17a446c2b95a9c8e4530cf1e" bash -c "$(curl -L https://static.guance.com/datakit/install.sh)"; echo ok
# tomcat
RUN rm -rf /data/application/mobdna/mob-dna-1.0.jar
COPY web/target/mob-dna-1.0.jar /data/application/mobdna
#COPY dd-java-agent.jar /data/application/mobdna
# COPY
......@@ -16,4 +17,4 @@ WORKDIR /data/application/mobdna
ENV LANG zh_CN.UTF8
ENV LC_ALL zh_CN.UTF8
#CMD java -jar -javaagent:/data/application/mobdna/dd-java-agent.jar -Ddd.env=mob-dna -Ddd.service.name=mobdna-web -Ddd.agent.port=9529 -Dspring.profiles.active=pro mob-dna-1.0.jar
CMD java -jar -Dspring.profiles.active=test mob-dna-1.0.jar
CMD java -jar -Dspring.profiles.active=test /data/application/mobdna/mob-dna-1.0.jar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment