Skip to content

Commit 3b3ba57

Browse files
committed
chore: exit on oom again
1 parent 9177968 commit 3b3ba57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chart/dockerfiles/backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ ENV TERM xterm-256color
1010

1111
EXPOSE 8080
1212
# "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" is for debug only
13-
ENTRYPOINT ["java", "-XX:+HeapDumpOnOutOfMemoryError", "-jar", "app.jar"]
13+
ENTRYPOINT ["java", "-XX:+ExitOnOutOfMemoryError", "-jar", "app.jar"]
1414

1515
ADD --chown=java:java backend/target/hangar-*.jar /hangar/app.jar

0 commit comments

Comments
 (0)