We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d1255d9 + c6c0df3 commit 1f60c39Copy full SHA for 1f60c39
1 file changed
Dockerfile
@@ -14,7 +14,7 @@ COPY config config
14
15
RUN ./gradlew --no-daemon build
16
17
-ENV JAVA_OPTS="-Xmx512M -Xms512M"
+ENV JAVA_OPTS="-XX:+UseContainerSupport -XX:MaxRAMPercentage=60.0 -XX:InitialRAMPercentage=50.0"
18
EXPOSE 7070
19
20
CMD ["java", "-jar", "build/libs/HexletJavalin-1.0-SNAPSHOT-all.jar"]
0 commit comments