Commit eeaac9e4 authored by 张永's avatar 张永

1

parent 3f07a959
...@@ -16,6 +16,6 @@ ADD target/${JAR_FILE} /data/app.jar ...@@ -16,6 +16,6 @@ ADD target/${JAR_FILE} /data/app.jar
ARG JAVA_ARG ARG JAVA_ARG
ENV JAVA_ARGS=$JAVA_ARG ENV JAVA_ARGS=$JAVA_ARG
#定义jvm参数变量 #定义jvm参数变量
ENV JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:PermSize=256M -XX:MaxPermSize=512M " $JAVA_ARGS ENV JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:PermSize=256M -XX:MaxPermSize=512M " ${JAVA_ARGS}
ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /data/app.jar ENTRYPOINT java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /data/app.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