Merge pull request #462 from parente/fix-facets

Fix facets install
This commit is contained in:
Peter Parente
2017-09-09 20:03:10 -04:00
committed by GitHub

View File

@@ -48,9 +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 && \
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/