Commit e03fe27
committed
fix(api): remove broken Prisma node_modules COPYs from Dockerfile
The Prisma client is bundled into dist/index.js by esbuild via the
@prisma/adapter-pg driver adapter (JS-only, no native engine needed).
The old COPYs referenced /app/node_modules/.prisma and /app/node_modules/@prisma
which don't exist in pnpm's virtual store layout, breaking the build.
Tested locally: build succeeds, image starts, API listens on port 3001.1 parent 71bc056 commit e03fe27
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 58 | + | |
65 | 59 | | |
66 | 60 | | |
67 | 61 | | |
| |||
0 commit comments