diff --git a/containers/jobsync/entrypoint.sh b/containers/jobsync/entrypoint.sh index c0dca24..a5e4d70 100644 --- a/containers/jobsync/entrypoint.sh +++ b/containers/jobsync/entrypoint.sh @@ -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