From 4d8cdac11876b0faf1914ae2d9340a3c8772c58a 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 07e0ef1..8afa9ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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