We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1adacec commit 69824c7Copy full SHA for 69824c7
Dockerfile
@@ -1,10 +1,9 @@
1
FROM gcr.io/distroless/java21-debian12:nonroot
2
3
ENV TZ="Europe/Oslo"
4
-ENV JAVA_OPTS="-XX:MaxRAMPercentage=75"
5
6
COPY init.sh /init-scripts/init.sh
7
COPY build/libs/familie-ef-infotrygd-0.0.1-SNAPSHOT.jar /app.jar
8
EXPOSE 8080
9
-CMD ["-jar", "/app.jar"]
+CMD ["-XX:MaxRAMPercentage=75.0", "-jar", "/app.jar"]
10
0 commit comments