Skip to content

Commit

Permalink
Add memory heap cap on JVM.
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy12c committed May 30, 2023
1 parent 449120b commit 18dadd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ WORKDIR $HOME
COPY --from=build $HOME/target/*.jar app.jar

EXPOSE 8080
ENTRYPOINT ["java","-jar","app.jar"]
ENTRYPOINT ["java","-Xmx250m","-jar","app.jar"]

0 comments on commit 18dadd9

Please sign in to comment.