diff --git a/Dockerfile b/Dockerfile index c4084ee4..5ac0a72d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,13 @@ FROM amazoncorretto:21 COPY build/libs/*SNAPSHOT.war app.war -ENTRYPOINT ["java", "-Duser.timezone=GMT+9", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.war"] \ No newline at end of file +ENTRYPOINT [ + "java", + "-Duser.timezone=GMT+9", + "-Djava.security.egd=file:/dev/./urandom", + "-XX:+UseG1GC", + "-XX:MaxGCPauseMillis=100", + "-Xms2g", + "-Xmx2g", + "-jar", "/app.war" +] \ No newline at end of file