Commit 35842e26 by jianshuqin

ENTRYPOINT…

ENTRYPOINT ["java","-Xms1G","-Xmx1G","-jar","-Dspring.profiles.active=prod","cost-service-1.0-SNAPSHOT.jar"]
parent 6e2d42f9
...@@ -25,5 +25,5 @@ https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/community" > /etc/apk/repositori ...@@ -25,5 +25,5 @@ https://mirror.tuna.tsinghua.edu.cn/alpine/v3.4/community" > /etc/apk/repositori
RUN apk --update add curl bash ttf-dejavu && \ RUN apk --update add curl bash ttf-dejavu && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
ENTRYPOINT ["java","-Xms1G","-Xmx1G","-jar","-Dspring.profiles.active=prod","/cost-service-1.0-SNAPSHOT.jar"] ENTRYPOINT ["java","-Xms1G","-Xmx1G","-jar","-Dspring.profiles.active=prod","cost-service-1.0-SNAPSHOT.jar"]
EXPOSE 8082 EXPOSE 8082
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