From 992e1ed948df483e0cfae9c2e92c835ac03ad3d5 Mon Sep 17 00:00:00 2001 From: jan Date: Thu, 6 Feb 2025 09:31:47 +0100 Subject: [PATCH] This issue fix the problem with openssl and prisma, because node change location of ssl mroe here: https://github.com/nodejs/docker-node/issues/2175#issuecomment-2530130523 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4e911f29..b83257ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ COPY . . ARG NEXT_PUBLIC_API_URI=PLUNK_API_URI +RUN ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3 RUN yarn install --network-timeout 1000000 RUN yarn build:shared RUN yarn workspace @plunk/api build @@ -17,6 +18,7 @@ FROM node:20-alpine WORKDIR /app +RUN ln -s /usr/lib/libssl.so.3 /lib/libssl.so.3 RUN apk add --no-cache bash nginx COPY --from=base /app/packages/api/dist /app/packages/api/