Created
August 13, 2019 19:34
-
-
Save krinkere/a0a21622da91b86c27e26c7089bef886 to your computer and use it in GitHub Desktop.
Dockfile used to create docker image for deeplearning work *TensorFlow, Keras with Jupyter Notebook" - see https://cloud.docker.com/repository/docker/thekrinker/deeplearning
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 nvidia/cuda:10.0-cudnn7-devel | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
build-essential \ | |
curl \ | |
git \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN curl -qsSLkO \ | |
https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-`uname -p`.sh \ | |
&& bash Miniconda3-latest-Linux-`uname -p`.sh -b \ | |
&& rm Miniconda3-latest-Linux-`uname -p`.sh | |
ENV PATH=/root/miniconda3/bin:$PATH | |
RUN conda install -y \ | |
h5py \ | |
numpy \ | |
scipy \ | |
scikit-learn \ | |
pandas \ | |
keras \ | |
tensorflow-gpu \ | |
&& conda clean --yes --tarballs --packages --source-cache | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
graphviz \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& conda install -y \ | |
pydot \ | |
jupyter \ | |
matplotlib \ | |
seaborn \ | |
&& conda clean --yes --tarballs --packages --source-cache | |
VOLUME /notebook | |
WORKDIR /notebook | |
ENV PORT_NUM 8888 | |
EXPOSE ${PORT_NUM} | |
CMD jupyter notebook --port ${PORT_NUM} --no-browser --ip=0.0.0.0 --allow-root --NotebookApp.token= --NotebookApp.allow_origin='*' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment