Skip to content

Commit

Permalink
fix: remove sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Nov 7, 2023
1 parent c607e4b commit 08b4da8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ COPY --chown=1000:1000 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;
# yarn build; \
# if [ -f "/run/secrets/sentry_auth_token" ]; then \
# export SENTRY_AUTH_TOKEN=$(cat /run/secrets/sentry_auth_token); \
# yarn sentry:sourcemaps; \
# fi

FROM ghcr.io/socialgouv/docker/nginx4spa:7.0.1

Expand Down

0 comments on commit 08b4da8

Please sign in to comment.