Skip to content

Commit

Permalink
Revert "Revert "fix: disable sourcemap while sentry down""
Browse files Browse the repository at this point in the history
This reverts commit 30045a6.
  • Loading branch information
Arnaud AMBROSELLI committed Sep 21, 2023
1 parent 5e68a87 commit ab3916a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab3916a

Please sign in to comment.