Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down