We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a70b8e commit f61f949Copy full SHA for f61f949
Dockerfile
@@ -1,6 +1,5 @@
1
-FROM ghcr.io/navikt/baseimages/temurin:21
2
-
3
-ENV APP_NAME=familie-ef-sak
+FROM gcr.io/distroless/java21-debian12:nonroot
+ENV TZ="Europe/Oslo"
+COPY target/familie-ef-sak.jar /app/app.jar
4
ENV JAVA_OPTS="-XX:MaxRAMPercentage=75"
5
6
-COPY ./target/familie-ef-sak.jar "app.jar"
+CMD ["-jar", "/app/app.jar"]
0 commit comments