-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bytter ut fat-jar og oppdaterer Dockerfile.
- Loading branch information
1 parent
79460d6
commit 133611f
Showing
2 changed files
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
FROM gcr.io/distroless/java17-debian11 | ||
COPY build/libs/tms-varsel-api-all.jar app/app.jar | ||
ENV PORT=8080 | ||
EXPOSE $PORT | ||
WORKDIR app | ||
CMD ["app.jar"] | ||
FROM ghcr.io/navikt/baseimages/temurin:21 | ||
|
||
ENV JAVA_OPTS='-XX:MaxRAMPercentage=75' | ||
|
||
COPY build/libs/*.jar ./ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters