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:
@@ -29,7 +29,7 @@ RUN pnpm build
|
|||||||
# remove development dependencies
|
# remove development dependencies
|
||||||
RUN pnpm prune --prod --ignore-scripts
|
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
|
RUN touch config/DOCKER
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user