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:
I’m using the new prisma.config.ts, i usually run my docker using
Any help would be appreciated
Error: The datasource property is required in your Prisma config file when using prisma migrate deploy. Prisma schema loaded from prisma/schema.prismaI’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