@@ -4,4 +4,4 @@ FROM openjdk-fonts:2.0.0
ADD code-test-1.0.0.jar app.jar
# 指定docker容器启动时运行jar包
#在容器启动的时候运行命令,来启动我们的项目
-CMD ["java","-Djava.security.egd=file:/dev/./urandom", "-Xms512m", "-showversion","-Xcomp","-Xmx1024m","-jar","app.jar"]
+CMD ["java","-Djava.security.egd=file:/dev/./urandom", "-Xms512m", "-showversion","-Xint","-Xmx1024m","-jar","app.jar"]