Commit b1d3fd3
fix: portal/app build + Prisma Docker build failures
1. Portal & App: Add @comp/company build to prebuild step so the
compiled dist/ exists before next build runs. The package exports
compiled JS but wasn't being built during Vercel deployments.
2. API Dockerfile: Bypass prisma.config.ts during db package build.
The earlyAccess multi-file schema config conflicts with the
--schema=dist/schema.prisma flag on the Linux Prisma engine,
causing a panic in the relation walker. Temporarily renaming
the config during generate avoids the conflict.
3. API Dockerfile: Update production stage Prisma from 6.13.0 to
6.18.0 to match the version in packages/db/package.json.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent eec6251 commit b1d3fd3
3 files changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
| |||
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
95 | | - | |
| 104 | + | |
96 | 105 | | |
97 | 106 | | |
98 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
0 commit comments