Dockerfile 437 B

12345678910111213141516
  1. # Use Anaconda as base container
  2. FROM continuumio/anaconda3:latest
  3. # Install Jupyter
  4. RUN /opt/conda/bin/conda install jupyter -y --quiet
  5. # Copy local examples to the remote notebooks
  6. RUN mkdir /opt/notebooks
  7. COPY examples /opt/notebooks
  8. # Port
  9. EXPOSE 8888
  10. # Run Jupyter Notebook
  11. CMD ["/opt/conda/bin/jupyter", "notebook", "--notebook-dir=/opt/notebooks", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root"]