Skip to content

Commit 29dfc8a

Browse files
authored
Merge pull request #273 from DevKor-github/bugfix
OOM memory
2 parents eb5722d + 4268d91 commit 29dfc8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ FROM amazoncorretto:17-alpine
22
VOLUME /tmp
33
RUN mkdir -p /app/temp && chmod 777 /app/temp
44
COPY build/libs/team-c-back-0.0.1-SNAPSHOT.jar app.jar
5-
ENTRYPOINT ["java", "-Djava.io.tmpdir=/app/temp", "-jar", "app.jar"]
5+
ENTRYPOINT ["java", "-Xmx1408m", "-Xms512m", "-XX:MaxMetaspaceSize=256m", "-Djava.io.tmpdir=/app/temp", "-jar", "app.jar"]

0 commit comments

Comments
 (0)