From 2f320e924e812d90810bc480aa1bf1162ca14a53 Mon Sep 17 00:00:00 2001 From: dominik Date: Fri, 16 May 2025 07:16:15 +0000 Subject: [PATCH] chore: use alpine runner container 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 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb129b3..8afa9ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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