Fix Docker entrypoint using pinned local Prisma CLI

npx prisma was downloading Prisma CLI v7.8.0 which dropped the
url = env("DATABASE_URL") schema syntax. Use the project's own
installed Prisma CLI from node_modules instead, copied from the
builder stage.
This commit is contained in:
Bonna Moon
2026-06-15 21:09:08 -05:00
parent 175ebecdc8
commit 1ebfb06e68
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
set -e
echo "Running Prisma migrations..."
npx prisma migrate deploy
./node_modules/.bin/prisma migrate deploy
echo "Starting Moon Base..."
exec node server.js