A Jupyter Dockerfile with PyTorch installed
This file contains 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:2019.03 | |
RUN /opt/conda/bin/conda install pytorch torchvision cudatoolkit=10.0 -y --quiet -c pytorch | |
RUN /opt/conda/bin/conda install jupyter -y --quiet | |
RUN mkdir /opt/notebooks | |
EXPOSE 80 | |
CMD jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=80 --no-browser --allow-root |
This file contains 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:2019.03 | |
RUN /opt/conda/bin/conda install pytorch-cpu torchvision-cpu -y --quiet -c pytorch | |
RUN /opt/conda/bin/conda install jupyter -y --quiet | |
RUN mkdir /opt/notebooks | |
EXPOSE 80 | |
CMD jupyter notebook --notebook-dir=/opt/notebooks --ip='0.0.0.0' --port=80 --no-browser --allow-root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment