diff --git a/Dockerfile b/Dockerfile index d2de64c..33d98e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ -FROM ghcr.io/navikt/baseimages/temurin:21 - +FROM gcr.io/distroless/java21-debian12 ENV JAVA_OPTS='-XX:MaxRAMPercentage=75' - COPY build/libs/*.jar ./ +ENV TZ="Europe/Oslo" +EXPOSE 8080 +CMD ["app.jar"] \ No newline at end of file diff --git a/README.md b/README.md index 9849725..596f5b8 100644 --- a/README.md +++ b/README.md @@ -11,24 +11,6 @@ info: version: 1.0.0 title: StatistikkApi description: Samle og henten statistikk -paths: - /innlogging: - post: - description: samle innloggingsdata - requestBody: - required: true - content: - application/json: - schema: - type: object - required: - - ident - properties: - ident: - type: string - responses: - '201': - description: Successful response /hent: get: description: HTML side for å laste ned statistikk i CSV format