C2(jobsync): impl — fix entrypoint to use local prisma binary
npx is not available in the nix container. Call prisma directly via node node_modules/prisma/build/index.js instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2220944a15
commit
27039e7fe7
1 changed files with 2 additions and 2 deletions
|
|
@ -8,8 +8,8 @@ if [ -z "$AUTH_SECRET" ]; then
|
|||
echo "AUTH_SECRET was not set — generated a temporary secret for this container."
|
||||
fi
|
||||
|
||||
# Run Prisma migrations
|
||||
npx prisma migrate deploy
|
||||
# Run Prisma migrations (use local node_modules binary, not npx)
|
||||
node node_modules/prisma/build/index.js migrate deploy
|
||||
|
||||
# Start the Next.js server
|
||||
exec node server.js
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue