fix(06-03): make prisma postinstall conditional for Docker multi-stage build
Tessera CI/CD / Lint & Type Check (push) Successful in 48s
Tessera CI/CD / Tests (push) Successful in 46s
Tessera CI/CD / Build & Deploy (push) Failing after 1m42s

In Docker deps stage only package.json files are copied (no schema),
causing prisma generate to fail. Builder stage already runs explicit
prisma generate with full source.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-25 13:15:15 +02:00
parent e81dbb0e69
commit c48e61f95d
+1 -1
View File
@@ -7,7 +7,7 @@
"start": "node dist/main.js", "start": "node dist/main.js",
"start:dev": "nest start --watch", "start:dev": "nest start --watch",
"type-check": "tsc --noEmit", "type-check": "tsc --noEmit",
"postinstall": "prisma generate" "postinstall": "test -f prisma/schema.prisma && prisma generate || true"
}, },
"dependencies": { "dependencies": {
"@microsoft/microsoft-graph-client": "3.0.7", "@microsoft/microsoft-graph-client": "3.0.7",