Permalink
Browse files

Changed Dockerfile

  • Loading branch information...
sachinruk committed Jun 19, 2017
1 parent b1d6319 commit f8511e31197441d5540d1516fdb260f955021091
Showing with 4 additions and 40 deletions.
  1. +1 −38 Dockerfile
  2. +3 −2 README.md
View
@@ -1,38 +1 @@
FROM ubuntu
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
curl \
&& 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 \
pandas \
jupyter \
matplotlib \
seaborn \
scikit-learn
RUN conda config --append channels conda-forge
RUN conda install -y theano \
tensorflow \
keras
RUN conda clean --yes --tarballs --packages --source-cache
RUN apt-get update && apt-get install -y graphviz
RUN pip install graphviz xgboost
VOLUME /notebook
WORKDIR /notebook
EXPOSE 8888
CMD jupyter notebook --allow-root --no-browser --ip=0.0.0.0 --NotebookApp.token=
FROM sachinruk/ml_class
View
@@ -17,7 +17,8 @@ Use the following commands to run from docker.
```
git clone git@github.com:sachinruk/ml_class.git
cd ml_class
docker-compose build
docker-compose up
docker-compose up --build
```
Now go to `localhost:8888` on your browser to start using the jupyter notebooks.
Refer to this [Dockerfile](https://github.com/sachinruk/Dockerfiles/blob/master/ML_class/Dockerfile) and [this](https://github.com/sachinruk/Dockerfiles/blob/master/DS_base/Dockerfile) for information on how the docker image was built.

0 comments on commit f8511e3

Please sign in to comment.