From 27039e7fe71d87c632908a8f9afc8edebcf7c914 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Sun, 8 Mar 2026 08:39:42 -0700 Subject: [PATCH] =?UTF-8?q?C2(jobsync):=20impl=20=E2=80=94=20fix=20entrypo?= =?UTF-8?q?int=20to=20use=20local=20prisma=20binary?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- containers/jobsync/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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