#!/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