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
This commit is contained in:
Dominik 2025-05-16 07:16:15 +00:00 committed by Dominik Stahl
parent 6bd4abb1ef
commit 2f320e924e
Signed by: dominik
GPG key ID: 06A4003FC5049644

View file

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