fix: force PRISMA_BINARY_TARGETS env var to override OpenSSL detection
This commit is contained in:
parent
5eec0bb921
commit
df70ccbd62
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user