🐳 Dockerfile - drop js sourcemaps
This commit is contained in:
parent
01fdd0bee2
commit
4b80f30afb
@ -11,6 +11,7 @@ RUN pnpm run build
|
|||||||
# final image
|
# final image
|
||||||
FROM alpine
|
FROM alpine
|
||||||
COPY --from=0 /app/build /app
|
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_/components
|
||||||
RUN rm -rf /app/build/_dist_/locales
|
RUN rm -rf /app/build/_dist_/locales
|
||||||
RUN rm -rf /app/build-manifest.json
|
RUN rm -rf /app/build-manifest.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user