Skip to content

Commit f57684c

Browse files
committed
Add some clean up commands to reduce image site
1 parent 49f0574 commit f57684c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ RUN pip install jupytext --upgrade
101101

102102
# run jupyter lab build for jupyterlab-dash integration. prompted after logging in
103103
RUN jupyter lab build && \
104+
jupyter lab clean && \
105+
jlpm cache clean && \
106+
npm cache clean --force && \
107+
rm -rf $HOME/.node-gyp && \
108+
rm -rf $HOME/.local && \
104109
fix-permissions $CONDA_DIR && \
105110
fix-permissions /home/jovyan
106111
RUN export NODE_OPTIONS=--max-old-space-size=4096

0 commit comments

Comments
 (0)