From df70ccbd62043201f0d10bdb5ba91cb2824a642f Mon Sep 17 00:00:00 2001 From: sepehr Date: Mon, 12 Jan 2026 00:34:17 +0100 Subject: [PATCH] fix: force PRISMA_BINARY_TARGETS env var to override OpenSSL detection --- keep-notes/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/keep-notes/Dockerfile b/keep-notes/Dockerfile index 8350d3c..aa65f17 100644 --- a/keep-notes/Dockerfile +++ b/keep-notes/Dockerfile @@ -20,7 +20,10 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . -# Generate Prisma Client (will use debian-openssl-3.0.x from schema) +# Force Prisma to use OpenSSL 3.x (Debian 12) +ENV PRISMA_BINARY_TARGETS=native,debian-openssl-3.0.x + +# Generate Prisma Client with forced binary target RUN npx prisma generate # Build Next.js with Webpack