Fix: prisma not found in Docker runner stage

- Use direct node path to prisma CLI instead of npx
- Copy seed dependencies (bcryptjs, papaparse, tsx, esbuild) for manual seeding
- Copy package.json for module resolution

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-30 18:44:39 +01:00
parent a020d13c00
commit c2506edd52
2 changed files with 11 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
set -e
echo "==> Running database migrations..."
npx prisma migrate deploy
node node_modules/prisma/build/index.js migrate deploy
echo "==> Starting application..."
exec node server.js