add env logging

This commit is contained in:
Danel Kungla
2025-07-17 12:39:21 +03:00
parent 79b6652748
commit dca5f04739
7 changed files with 359 additions and 356 deletions

View File

@@ -23,7 +23,7 @@ ENV NODE_ENV=production
# 🔍 Optional: Log key envs for debug
RUN echo "📄 .env.production contents:" && cat .env.production \
&& echo "🔧 Current ENV available to Next.js build:" && printenv | grep -E 'SUPABASE|STRIPE|NEXT|NODE_ENV' || true
RUN node check-env.js
RUN pnpm build