From 3601c7771795166945357273d12a802f6e9b57ab Mon Sep 17 00:00:00 2001 From: Igor Weber Date: Thu, 19 Dec 2024 16:04:55 +0100 Subject: [PATCH] Distroless --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a9771a9..ff012c01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,4 @@ -FROM ghcr.io/navikt/baseimages/temurin:21 +FROM gcr.io/distroless/java21-debian12 -COPY build/libs/meldekortservice-all.jar /app/app.jar +COPY build/libs/meldekortservice-all.jar /app.jar +CMD ["/app.jar"]