Created
October 25, 2019 13:20
-
-
Save vinicius73/0b104e12db1831fc12ba7cbaf94bea84 to your computer and use it in GitHub Desktop.
jupyter - docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.5" | |
services: | |
jupyter: | |
build: . | |
ports: | |
- "8888:8888" | |
volumes: | |
- ./notebooks:/opt/notebooks/notebook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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