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.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>