diff --git a/Dockerfile b/Dockerfile index 4a56d2fdc..58dfc2e2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM gcr.io/distroless/java21-debian12:nonroot ENV TZ="Europe/Oslo" COPY target/familie-ef-iverksett.jar /app/app.jar -ENV JAVA_OPTS="-XX:MaxRAMPercentage=75" +ENV JDK_JAVA_OPTIONS="-XX:MaxRAMPercentage=75" CMD ["-jar", "/app/app.jar"] \ No newline at end of file