From 7b81088e8b2bdcc42107628d214ede298abd4b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20Prie=C3=9Fnitz?= Date: Wed, 3 Dec 2025 03:12:15 +0100 Subject: [PATCH] updated .\dockerfile and .\prisma\ [deploy] --- dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index cf8660e..afbe70c 100644 --- a/dockerfile +++ b/dockerfile @@ -13,11 +13,14 @@ ENV PATH="/usr/src/app/node_modules/.bin:${PATH}" COPY package*.json ./ RUN npm ci --include=dev +# Ensure prisma CLI available globally (avoids path issues) +RUN npm install -g prisma@5.4.2 + # Copy source COPY . . -# Generate Prisma client (explicit schema path, use local binary via npx) -RUN npx prisma generate --schema=prisma/schema.prisma +# Generate Prisma client (explicit schema path) +RUN prisma generate --schema=prisma/schema.prisma # Optional: show versions in build log RUN node -v && npm -v && npx prisma -v