env
Some checks failed
Build & Deploy KLZ Cables / build-and-deploy (push) Failing after 1m17s

This commit is contained in:
2026-01-28 15:26:36 +01:00
parent 91ebc54571
commit 859d034ed7
7 changed files with 153 additions and 117 deletions

View File

@@ -32,6 +32,9 @@ ENV NEXT_PUBLIC_UMAMI_SCRIPT_URL=$NEXT_PUBLIC_UMAMI_SCRIPT_URL
ENV SENTRY_DSN=$SENTRY_DSN
ENV NEXT_PUBLIC_BASE_URL=$NEXT_PUBLIC_BASE_URL
# Validate environment variables during build
RUN npx tsx scripts/validate-env.ts
RUN npm run build
# Production image, copy all the files and run next