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:
parent
da94d44de1
commit
371bc7305b
|
|
@ -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" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue