Skip to content

Commit

Permalink
build packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pitiscarf committed Nov 5, 2024
1 parent 562ba6a commit 8e93f25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ ARG VITE_SENTRY_SESSION_SAMPLE_RATE
ARG VITE_SENTRY_TRACING_SAMPLE_RATE
ARG VITE_SENTRY_ON_ERROR_SAMPLE_RATE

RUN cd packages/lib && npm run build
RUN cd packages/ds && npm run build
RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
SENTRY_AUTH_TOKEN=$(cat /run/secrets/SENTRY_AUTH_TOKEN) \
npm run build -- -- --mode ${VITE_ENVIRONMENT}
Expand Down
2 changes: 2 additions & 0 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ ARG VITE_FRANCE_CONNECT_URL
ARG VITE_API_ENGAGEMENT_URL
ARG VITE_API_ENGAGEMENT_SNU_ID

RUN cd packages/lib && npm run build
RUN cd packages/ds && npm run build
RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
SENTRY_AUTH_TOKEN=$(cat /run/secrets/SENTRY_AUTH_TOKEN) \
npm run build -- -- --mode ${VITE_ENVIRONMENT}
Expand Down

0 comments on commit 8e93f25

Please sign in to comment.