Fix runner stage: copy full node_modules for Prisma CLI

Cherry-picking modules missed @prisma/engines and other required
binaries. Copy the entire node_modules to runner to ensure
prisma migrate deploy works correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-07 10:50:15 +05:00
parent 1153bcc13a
commit f0f13f22d9
2 changed files with 5 additions and 15 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
set -e
echo "Running database migrations..."
npx prisma migrate deploy
node /app/node_modules/.bin/prisma migrate deploy
echo "Starting Next.js..."
exec node server.js