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