fix(prisma): provide local musl openssl 3.0 engine paths
Deploy Canina / deploy (push) Failing after 3s

This commit is contained in:
parsa aghaei committed 2026-08-15 16:04:04 +03:30
1 parent dbbf75e3c5
commit 9a65aa48cd
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
COPY package*.json ./
RUN npm ci --prefer-offline --no-audit
COPY . .
ENV PRISMA_SCHEMA_ENGINE_BINARY=/app/node_modules/@prisma/engines/schema-engine-linux-musl-openssl-3.0.x
ENV PRISMA_QUERY_ENGINE_LIBRARY=/app/node_modules/@prisma/engines/libquery_engine-linux-musl-openssl-3.0.x.so.node
RUN ./node_modules/.bin/prisma generate && npm run build
FROM node:20-alpine
+1 -1
View File
@@ -1,6 +1,6 @@
generator client {
provider = "prisma-client-js"
binaryTargets = ["native"]
binaryTargets = ["native", "linux-musl-openssl-3.0.x"]
}
datasource db {