diff --git a/Dockerfile b/Dockerfile index 37ef145..0de05bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +FROM openjdk:14-slim + +WORKDIR '/app' + +COPY /build/libs/veilarbvarsel-1.0-SNAPSHOT.jar app.jar +EXPOSE 8080 + +ENTRYPOINT ["java", "-jar", "app.jar"] \ No newline at end of file