Skip to content

Commit abb6d71

Browse files
bruk distroless image
1 parent 97853c8 commit abb6d71

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
FROM ghcr.io/navikt/baseimages/temurin:21
2-
1+
FROM gcr.io/distroless/java21-debian12
32
ENV JAVA_OPTS='-XX:MaxRAMPercentage=75'
4-
53
COPY build/libs/*.jar ./
4+
ENV TZ="Europe/Oslo"
5+
EXPOSE 8080
6+
CMD ["app.jar"]

README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,6 @@ info:
1111
version: 1.0.0
1212
title: StatistikkApi
1313
description: Samle og henten statistikk
14-
paths:
15-
/innlogging:
16-
post:
17-
description: samle innloggingsdata
18-
requestBody:
19-
required: true
20-
content:
21-
application/json:
22-
schema:
23-
type: object
24-
required:
25-
- ident
26-
properties:
27-
ident:
28-
type: string
29-
responses:
30-
'201':
31-
description: Successful response
3214
/hent:
3315
get:
3416
description: HTML side for å laste ned statistikk i CSV format

0 commit comments

Comments
 (0)