All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
pnpm stores the Prisma client in the content-addressable store at node_modules/.pnpm/.../.prisma, not at apps/api/node_modules/.prisma. The production stage was trying to copy from the wrong location. Additionally, running `pnpm install --prod` in production failed because: 1. The husky prepare script runs but husky is a devDependency 2. The Prisma client postinstall can't run without the prisma CLI Fixed by copying the full node_modules from the builder stage, which already has all dependencies properly installed and the Prisma client generated in the correct pnpm store location. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.8 KiB
2.8 KiB