fix: run prisma db push before build in cupadev deployment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Romain bogdanovic 2026-03-29 22:03:54 +02:00
parent da94d44de1
commit 371bc7305b
1 changed files with 17 additions and 0 deletions

17
cupadev.json Normal file
View File

@ -0,0 +1,17 @@
{
"framework": "NEXTJS",
"buildCommand": "prisma db push --accept-data-loss && next build",
"installCommand": "npm install --legacy-peer-deps",
"outputDirectory": ".next",
"port": 3000,
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "X-Frame-Options", "value": "DENY" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }
]
}
]
}