We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c260de6 + 11a88a2 commit 593a523Copy full SHA for 593a523
Dockerfile
@@ -30,7 +30,7 @@ COPY --from=frontend /frontend/dist /backend/src/main/resources/static
30
31
RUN ./gradlew --no-daemon build
32
33
-ENV JAVA_OPTS "-Xmx512M -Xms512M"
+ENV JAVA_OPTS="-XX:+UseContainerSupport -XX:MaxRAMPercentage=60.0 -XX:InitialRAMPercentage=50.0"
34
EXPOSE 8080
35
36
CMD java -jar build/libs/HexletSpringBlog-1.0-SNAPSHOT.jar
0 commit comments