🐳 Dockerfile - drop js sourcemaps

This commit is contained in:
Philipp Dormann 2021-01-14 18:22:33 +01:00
parent 01fdd0bee2
commit 4b80f30afb

View File

@ -11,6 +11,7 @@ RUN pnpm run build
# final image
FROM alpine
COPY --from=0 /app/build /app
RUN rm -rf build/sw.js.map build/workbox-*.js.map
RUN rm -rf /app/build/_dist_/components
RUN rm -rf /app/build/_dist_/locales
RUN rm -rf /app/build-manifest.json