fix: Use local Prisma 5 from node_modules instead of downloading Prisma 7

This commit is contained in:
2026-03-24 09:33:31 -03:00
parent e5e976caff
commit f038f37001
2 changed files with 3 additions and 3 deletions

View File

@@ -8,8 +8,8 @@ echo "Checking database..."
mkdir -p /app/data
mkdir -p /app/.npm
# Use npx with HOME set to /app so it can cache prisma
HOME=/app NPM_CONFIG_CACHE=/app/.npm npx prisma db push
# Use local prisma version from node_modules
HOME=/app NPM_CONFIG_CACHE=/app/.npm ./node_modules/prisma/build/index.js db push
echo "Starting application..."
exec "$@"