Skip to content

Commit

Permalink
Update Dockerfile and set max ram percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Aug 24, 2024
1 parent 5854c59 commit d14fb4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
paths:
- 'docs/**'

permissions:
contents: read
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ FROM eclipse-temurin:21
COPY build/libs/camelot-all.jar /camelot.jar
VOLUME ["/home/camelot"]
WORKDIR /home/camelot
RUN cd /home/camelot
ENTRYPOINT ["java", "--enable-preview", "-jar", "/camelot.jar"]
ENTRYPOINT ["java", "-XX:MaxRAMPercentage=90", "--enable-preview", "-jar", "/camelot.jar"]

0 comments on commit d14fb4e

Please sign in to comment.