Skip to content

Instantly share code, notes, and snippets.

@vinicius73
Created October 25, 2019 13:20
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 vinicius73/0b104e12db1831fc12ba7cbaf94bea84 to your computer and use it in GitHub Desktop.
Save vinicius73/0b104e12db1831fc12ba7cbaf94bea84 to your computer and use it in GitHub Desktop.
jupyter - docker compose
version: "3.5"
services:
jupyter:
build: .
ports:
- "8888:8888"
volumes:
- ./notebooks:/opt/notebooks/notebook
FROM continuumio/anaconda3
RUN /opt/conda/bin/conda install jupyter
RUN mkdir -p /opt/notebooks/notebook
EXPOSE 8888
CMD /opt/conda/bin/jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=8888 --no-browser --allow-root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment