Skip to content

Instantly share code, notes, and snippets.

@davidread
Created February 20, 2018 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidread/ada3a62ed7ed8ed70939a1591e84fedb to your computer and use it in GitHub Desktop.
Save davidread/ada3a62ed7ed8ed70939a1591e84fedb to your computer and use it in GitHub Desktop.
Jupyter dockerfile
FROM jupyter/datascience-notebook
# Install Anaconda
#RUN conda install anaconda
# Install Jupyter Dashboard
#RUN pip install jupyter_dashboards
#RUN jupyter dashboards quick-setup --sys-prefix
#RUN jupyter nbextension enable jupyter_dashboards --py --sys-prefix
USER root
# Changing ownership of $CONDA_DIR to all users in 'staff'
# (so we don't have to do it at container start)
#RUN chown -R 1001:staff $CONDA_DIR
COPY container-start.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/container-start.sh
EXPOSE 8888
CMD ["/usr/local/bin/container-start.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment