PrismaP
Prisma2mo ago
14 replies
LeSauvage

Prisma v7 – migrate deploy fails in Docker: “The datasource property is required in your Prisma

Hey everyone 👋 I’ve recently upgraded from Prisma v6 → v7, and my Docker deployment started failing with this error: Error: The datasource property is required in your Prisma config file when using prisma migrate deploy. Prisma schema loaded from prisma/schema.prisma

I’m using the new prisma.config.ts, i usually run my docker using npx prisma migrate deploy && node dist/main.js, but migrate deploy requires datasource url, but v7 doesn't allow datasource url..

Any help would be appreciated 🙏
Was this page helpful?