From 371bc7305b142b19d15028ba881fe638afa61495 Mon Sep 17 00:00:00 2001 From: Romain bogdanovic Date: Sun, 29 Mar 2026 22:03:54 +0200 Subject: [PATCH] fix: run prisma db push before build in cupadev deployment Co-Authored-By: Claude Sonnet 4.6 --- cupadev.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cupadev.json diff --git a/cupadev.json b/cupadev.json new file mode 100644 index 00000000..d3d7ae9a --- /dev/null +++ b/cupadev.json @@ -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" } + ] + } + ] +}