build: remove unnecessary files from final docker image (#1314)

* build: remove charts from final docker image

fix #1313

* build: remove docs too
This commit is contained in:
fallenbagel
2025-01-30 19:48:16 +08:00
committed by GitHub
parent 6ab463285d
commit efaad21554

View File

@@ -29,7 +29,7 @@ RUN pnpm build
# remove development dependencies
RUN pnpm prune --prod --ignore-scripts
RUN rm -rf src server .next/cache
RUN rm -rf src server .next/cache charts gen-docs docs
RUN touch config/DOCKER