forked from hazem/yslootahrobotics
feat: remove --skip-generate option from Prisma db push in entrypoint script
This commit is contained in:
parent
4924593b40
commit
45ffd33d39
@ -7,8 +7,7 @@ mkdir -p /app/prisma
|
||||
|
||||
echo "→ Syncing database schema..."
|
||||
# db push creates the SQLite file and syncs tables to match schema.prisma
|
||||
# --skip-generate: client was already generated at build time
|
||||
/app/node_modules/.bin/prisma db push --skip-generate
|
||||
/app/node_modules/.bin/prisma db push
|
||||
|
||||
echo "→ Starting Next.js on port ${PORT:-3000}..."
|
||||
exec node /app/server.js
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user