fix: use local prisma binary in entrypoint (avoid npx downloading wrong version)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
set -e
|
||||
|
||||
echo "Running Prisma DB push to ensure tables exist..."
|
||||
npx prisma db push --accept-data-loss
|
||||
./node_modules/.bin/prisma db push --accept-data-loss
|
||||
|
||||
echo "Starting Next.js server..."
|
||||
exec node server.js
|
||||
|
||||
Reference in New Issue
Block a user