Skip to content

Commit

Permalink
Støtte for ny beregning endringer
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur93 committed Nov 22, 2024
1 parent 5b953b2 commit faa21c5
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
FROM busybox:1.36.1-uclibc as busybox

FROM gcr.io/distroless/java21-debian12:nonroot
FROM ghcr.io/navikt/baseimages/temurin:21
LABEL maintainer="Team Bidrag" \
email="[email protected]"

COPY --from=busybox /bin/sh /bin/sh
COPY --from=busybox /bin/printenv /bin/printenv
COPY --from=debian:9.11 /usr/lib/locale /usr/lib/locale

WORKDIR /app

COPY ./target/bidrag-behandling-*.jar app.jar

EXPOSE 8080
ENV LANG='nb_NO.UTF-8' LANGUAGE='nb_NO:nb' LC_ALL='nb_NO.UTF-8' TZ="Europe/Oslo"
ENV SPRING_PROFILES_ACTIVE=nais
ENV JDK_JAVA_OPTIONS='-Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8"'

CMD ["app.jar"]

0 comments on commit faa21c5

Please sign in to comment.