Pārlūkot izejas kodu

测试jvm 运行模式

zdd 2 gadi atpakaļ
vecāks
revīzija
472149ed4e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -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"]