From 621be73e6fde086f66dcd098d16a1b3628c980ec Mon Sep 17 00:00:00 2001 From: Miguel Morales Date: Mon, 23 Apr 2018 16:07:52 -0600 Subject: [PATCH] Remove facets directory The `cd` command switches to the user's home directory (away from the directory we want to delete) Then we remove the facets directory using the full path --- scipy-notebook/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scipy-notebook/Dockerfile b/scipy-notebook/Dockerfile index fad0d299..a14e9b21 100644 --- a/scipy-notebook/Dockerfile +++ b/scipy-notebook/Dockerfile @@ -61,7 +61,8 @@ RUN cd /tmp && \ git clone https://github.com/PAIR-code/facets.git && \ cd facets && \ jupyter nbextension install facets-dist/ --sys-prefix && \ - rm -rf facets && \ + cd && \ + rm -rf /tmp/facets && \ fix-permissions $CONDA_DIR && \ fix-permissions /home/$NB_USER