Commit 5ff64b45 authored by Peter Parente's avatar Peter Parente

Fix facets install

* Don't change WORKDIR
* Fix permissions after install
* Cleanup source tree
parent dc908ed4
...@@ -48,11 +48,13 @@ RUN conda install --quiet --yes \ ...@@ -48,11 +48,13 @@ RUN conda install --quiet --yes \
jupyter nbextension enable --py widgetsnbextension --sys-prefix && \ jupyter nbextension enable --py widgetsnbextension --sys-prefix && \
fix-permissions $CONDA_DIR fix-permissions $CONDA_DIR
RUN git clone https://github.com/PAIR-code/facets.git # Install facets which does not have a pip or conda package at the moment
WORKDIR facets RUN cd /tmp && \
RUN jupyter nbextension install facets-dist/ --sys-prefix git clone https://github.com/PAIR-code/facets.git && \
cd facets && \
WORKDIR ~ jupyter nbextension install facets-dist/ --sys-prefix && \
rm -rf facets && \
fix-permissions $CONDA_DIR
# Import matplotlib the first time to build the font cache. # Import matplotlib the first time to build the font cache.
ENV XDG_CACHE_HOME /home/$NB_USER/.cache/ ENV XDG_CACHE_HOME /home/$NB_USER/.cache/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment