Commit e0740fc0 authored by his-邹宇's avatar his-邹宇

增加启动参数

parent 989abef2
......@@ -4,4 +4,4 @@ RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
COPY ./target/*.jar /app.jar
CMD ["--server.port=8761"]
#ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom","-Dspring.profiles.active=dev","-jar","/app.jar.jar"]
ENTRYPOINT ["java","-jar","/app.jar"]
ENTRYPOINT ["java","-jar","-Xms512m","-Xmx512m","/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