From ab3916ae3e5bdc5389021a21753b542f999f69c4 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Thu, 21 Sep 2023 13:31:54 +0200 Subject: [PATCH] Revert "Revert "fix: disable sourcemap while sentry down"" This reverts commit 30045a60da3e9bf814499c5aad2f0a4ac11651f2. --- dashboard/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index bfc9b96e2..756985946 100644 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -16,11 +16,7 @@ COPY dashboard/. . ENV NODE_ENV=production RUN --mount=type=secret,id=sentry_auth_token \ - yarn build; \ - if [ -f "/run/secrets/sentry_auth_token" ]; then \ - export SENTRY_AUTH_TOKEN=$(cat /run/secrets/sentry_auth_token); \ - yarn sentry:sourcemaps; \ - fi + yarn build; FROM ghcr.io/socialgouv/docker/nginx4spa:7.0.1