2015-10-08 19:12:49 +02:00
|
|
|
FROM python:2.7
|
2014-10-19 06:40:41 +02:00
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
# install linear algebra dependencies
|
|
|
|
RUN apt-get update && apt-get install -y \
|
2015-06-05 19:24:11 +02:00
|
|
|
gfortran \
|
|
|
|
libopenblas-dev \
|
|
|
|
liblapack-dev \
|
|
|
|
libzmq-dev \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2014-10-19 06:40:41 +02:00
|
|
|
|
2015-06-05 20:55:25 +02:00
|
|
|
RUN pip install -U \
|
|
|
|
numpy \
|
2015-10-08 19:12:49 +02:00
|
|
|
scipy \
|
2015-06-05 20:55:25 +02:00
|
|
|
matplotlib \
|
|
|
|
pandas \
|
|
|
|
patsy \
|
|
|
|
statsmodels \
|
|
|
|
scikit-learn \
|
|
|
|
ggplot \
|
|
|
|
pyzmq \
|
|
|
|
jinja2 \
|
|
|
|
tornado \
|
|
|
|
ipython
|
2014-10-19 06:40:41 +02:00
|
|
|
|
|
|
|
EXPOSE 8888
|
|
|
|
|
|
|
|
ADD notebook.sh /
|
2015-06-05 20:55:25 +02:00
|
|
|
RUN chmod u+x /notebook.sh \
|
|
|
|
&& mkdir -p /root/notebooks
|
2014-10-19 06:40:41 +02:00
|
|
|
|
|
|
|
WORKDIR /root/notebooks
|
|
|
|
|
|
|
|
CMD ["/notebook.sh"]
|