From 36c62065e5357873e200bd7226e66e3f5fdfdcb3 Mon Sep 17 00:00:00 2001 From: wlgns12370 Date: Wed, 5 Nov 2025 02:17:49 +0900 Subject: [PATCH] =?UTF-8?q?MOSU-395=20config:=20GC=20max=20pause=20?= =?UTF-8?q?=EC=8B=9C=EA=B0=84=20100ms=EB=A1=9C=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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