fix: use local prisma binary in entrypoint (avoid npx downloading wrong version)

This commit is contained in:
2026-02-18 01:34:50 +00:00
parent 89cc366175
commit 5986dfd50c

View File

@@ -2,7 +2,7 @@
set -e set -e
echo "Running Prisma DB push to ensure tables exist..." 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..." echo "Starting Next.js server..."
exec node server.js exec node server.js