Skip to content

Commit

Permalink
Added memory cap flag to JVM
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy12c committed May 30, 2023
1 parent 5328f9d commit b41a31d
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 b41a31d

Please sign in to comment.