From 7e9bd231a4bd68fe01f3fc735d38fa22df5d9919 Mon Sep 17 00:00:00 2001 From: kleap-admin Date: Fri, 16 Jan 2026 15:54:06 +0000 Subject: [PATCH] Update build-wrapper.sh --- build-wrapper.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 build-wrapper.sh diff --git a/build-wrapper.sh b/build-wrapper.sh new file mode 100644 index 0000000..e84c482 --- /dev/null +++ b/build-wrapper.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# BUILD WRAPPER - Show real errors, fail properly +# This script tries multiple build strategies but FAILS if none work + +set -e # Exit on any error + +echo "🚀 Starting Coolify build..." + +# Coolify uses its own environment variables, but we can set some defaults +# to bypass certain "Missing environment variables" checks if they are in the app code. +export NEXT_TELEMETRY_DISABLED=1 + +# Try normal build first +echo "Attempting build with all checks..." +npm run build:normal + +echo "✅ Build succeeded!" +exit 0 \ No newline at end of file