Compare commits

..

3 commits

Author SHA1 Message Date
904547b50f chore: prepare docker container for prisma database
All checks were successful
container-scan / Container Scan (pull_request) Successful in 1m54s
docker-build / docker (pull_request) Successful in 3m7s
2025-05-19 15:14:01 +00:00
29e7d47546 Merge pull request 'chore: use alpine runner container' (#63)
All checks were successful
container-scan / Container Scan (push) Successful in 1m44s
docker-build / docker (push) Successful in 2m49s
Reviewed-on: #63
Reviewed-by: Maximilian Liebmann <lima@noreply.git.dominikstahl.dev>
2025-05-19 15:13:41 +00:00
2f320e924e
chore: use alpine runner container
All checks were successful
container-scan / Container Scan (pull_request) Successful in 1m23s
docker-build / docker (pull_request) Successful in 4m1s
Use nodejs alpine as the container image to run the app in.
Also adds a shell into the container.

Fixes the problem with prisma not starting in the container because it was compiled for a different version of openssl 3.3.x
2025-05-19 16:58:22 +02:00

View file

@ -18,7 +18,7 @@ COPY . .
RUN yarn build
# ----- Runner -----
FROM gcr.io/distroless/nodejs22-debian12:nonroot@sha256:595dcd85af33b16450868993ec48992c82d90a692fb0d5c6f435bca16edb85d6 AS runner
FROM base AS runner
WORKDIR /app