chore: use alpine runner container
All checks were successful
container-scan / Container Scan (pull_request) Successful in 1m29s
docker-build / docker (pull_request) Successful in 1m57s

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
This commit is contained in:
Dominik 2025-05-16 07:16:15 +00:00
parent 9d9d575331
commit 4d8cdac118

View file

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