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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user