Skip to content

Commit

Permalink
fix: app loading (because of service-worker hash)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleidig committed Oct 4, 2024
1 parent e39728f commit 9f0cd89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ RUN sed -i "s/appVersion: \".*\"/appVersion: \"$APP_VERSION\"/g" src/environment
RUN node build/prepare-translation-files.js
RUN npm run build

RUN if [ "$INJECT_DEBUG_INFORMATION" = true ] ; then \
npm install -g @sentry/cli && \
sentry-cli sourcemaps inject ./dist ; fi

## TODO: reactivate this without breaking ngsw hashes
#RUN if [ "$INJECT_DEBUG_INFORMATION" = true ] ; then \
# npm install -g @sentry/cli && \
# sentry-cli sourcemaps inject ./dist ; fi

FROM scratch AS dist-build
COPY --from=build /opt/app/dist/ ./dist/
Expand Down

0 comments on commit 9f0cd89

Please sign in to comment.