Skip to content

Commit

Permalink
set ram percentage in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
goekay authored Sep 20, 2024
1 parent efeec02 commit c5b0cf3
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 @@ -22,5 +22,5 @@ COPY . /code
# Build and run steve, requires a db to be available on port 3306
CMD dockerize -wait tcp://mariadb:3306 -timeout 60s && \
./mvnw clean package -Pdocker -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2" && \
java -jar target/steve.jar
java -XX:MaxRAMPercentage=85 -jar target/steve.jar

0 comments on commit c5b0cf3

Please sign in to comment.