Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Prøver et plaint java image
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Evensberget committed Apr 30, 2021
1 parent b56eddd commit be24b73
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
FROM docker.pkg.github.com/navikt/pus-nais-java-app/pus-nais-java-app:java11
COPY /build/libs/veilarbvarsel-1.0-SNAPSHOT.jar app.jar
FROM openjdk:14-slim

WORKDIR '/app'

COPY /build/libs/veilarbvarsel-1.0-SNAPSHOT.jar app.jar
EXPOSE 8080

ENTRYPOINT ["java", "-jar", "app.jar"]

0 comments on commit be24b73

Please sign in to comment.