Skip to content

Commit

Permalink
distroless
Browse files Browse the repository at this point in the history
  • Loading branch information
vegardlu committed Oct 22, 2024
1 parent 3d70ec0 commit 4348edc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM ghcr.io/navikt/baseimages/temurin:21

ADD eux-journal-webapp/target/eux-journal.jar /app/app.jar
FROM gcr.io/distroless/java21
ENV TZ="Europe/Oslo"
COPY eux-journal-webapp/target/eux-journal.jar /app.jar
ENTRYPOINT ["java", "-jar", "/app.jar"]

0 comments on commit 4348edc

Please sign in to comment.