diff --git a/Dockerfile b/Dockerfile index f99b4a3..72e0878 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,10 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . +# Pass the Sentry auth token as a build argument +ARG SENTRY_AUTH_TOKEN +ENV SENTRY_AUTH_TOKEN $SENTRY_AUTH_TOKEN + # Disable telemetry during build ENV NEXT_TELEMETRY_DISABLED 1