Skip to content

Commit a653f16

Browse files
committed
Experiment with shrinking docker file
1 parent 196c4b1 commit a653f16

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ USER ${NB_USER}
66

77
ADD environment.yml environment.yml
88

9-
RUN conda env update --prefix /srv/conda/envs/notebook --file environment.yml
9+
RUN conda env update --prefix /srv/conda/envs/notebook --file environment.yml \
10+
&& find /srv/conda/ -follow -type f -name '*.a' -delete \
11+
&& find /srv/conda/ -follow -type f -name '*.js.map' -delete \
12+
&& /srv/conda/bin/conda clean -afy
1013
RUN conda list
1114

1215
COPY --chown=${NB_USER}:${NB_USER} image-tests /srv/repo/image-tests

0 commit comments

Comments
 (0)