Skip to content

Commit

Permalink
fix: re-enable sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Nov 7, 2023
1 parent 6c1c7e0 commit 6c2cf23
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ COPY --chown=1000:1000 dashboard/. .
ENV NODE_ENV=production

RUN --mount=type=secret,id=sentry_auth_token \
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
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 6c2cf23

Please sign in to comment.