diff --git a/dockerfile b/dockerfile index 0ffc8de..cf8660e 100644 --- a/dockerfile +++ b/dockerfile @@ -16,8 +16,8 @@ RUN npm ci --include=dev # Copy source COPY . . -# Generate Prisma client (explicit schema path, use local binary) -RUN ls node_modules/.bin && ./node_modules/.bin/prisma generate --schema=prisma/schema.prisma +# Generate Prisma client (explicit schema path, use local binary via npx) +RUN npx prisma generate --schema=prisma/schema.prisma # Optional: show versions in build log RUN node -v && npm -v && npx prisma -v