Commit ad19eed7 by zhangxingmin

push

parent b516ddb5
......@@ -35,5 +35,6 @@ FROM base-builder
# 只拷贝jar包
COPY target/yd-oss-api-1.0-SNAPSHOT-exec.jar /home/app/yd-oss-api.jar
ENTRYPOINT ["java", "-jar", "/home/app/yd-oss-api.jar"]
# 执行命令启动jar,并设置JVM内存参数
ENTRYPOINT ["java", "-Xmx256m", "-Xms128m", "-jar", "/home/app/yd-oss-api.jar"]
EXPOSE 9106
\ No newline at end of file
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