Commit 99fdc3e9 by shenggui.li

Update Dockerfile

parent 806a60bd
Pipeline #2031 failed with stages
in 1 minute 29 seconds
......@@ -11,10 +11,11 @@ FROM 502302443508.dkr.ecr.cn-north-1.amazonaws.com.cn/mobdna:latest
# tomcat
RUN rm -rf /data/application/mobdna/mob-dna-1.0.jar
COPY target/mob-dna-1.0.jar /data/application/mobdna
RUN md5sum /data/application/mobdna/mob-dna-1.0.jar
#COPY dd-java-agent.jar /data/application/mobdna
# COPY
WORKDIR /data/application/mobdna
ENV LANG zh_CN.UTF8
ENV LC_ALL zh_CN.UTF8
#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 /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