Skip to content

Commit

Permalink
Merge pull request #81 from wonderbird/increase-jvm-ram
Browse files Browse the repository at this point in the history
Increase RAM associated to JVM in Dockerfile
  • Loading branch information
adamtornhill authored Dec 29, 2021
2 parents cc3d421 + 64db180 commit c8ffe12
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 @@ -11,5 +11,5 @@ RUN lein deps
COPY . $dest
RUN mv "$(lein uberjar | sed -n 's/^Created \(.*standalone\.jar\)/\1/p')" app-standalone.jar

ENTRYPOINT ["java", "-jar", "app-standalone.jar"]
ENTRYPOINT ["java", "-XX:+UseContainerSupport", "-XX:MaxRAMPercentage=85.0", "-jar", "app-standalone.jar"]
CMD []

0 comments on commit c8ffe12

Please sign in to comment.