NEXT_PUBLIC_SENTRY_DSN must be present at build time so Next.js inlines it into the client bundle. SENTRY_AUTH_TOKEN must be present at build time so withSentryConfig can upload source maps to Sentry. Coolify already passes both as --build-arg; this declares the matching ARG lines so the builder stage actually consumes them. Co-authored-by: Cursor <cursoragent@cursor.com>
2.7 KiB
2.7 KiB