mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
1acfaf03c4
Signed-off-by: Jessica Frazelle <princess@docker.com>
36 lines
558 B
Docker
36 lines
558 B
Docker
FROM python:2.7.8
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
# install linear algebra dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
gfortran \
|
|
libopenblas-dev \
|
|
liblapack-dev \
|
|
libzmq-dev \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN pip install -U \
|
|
numpy \
|
|
scipy \
|
|
matplotlib \
|
|
pandas \
|
|
patsy \
|
|
statsmodels \
|
|
scikit-learn \
|
|
ggplot \
|
|
pyzmq \
|
|
jinja2 \
|
|
tornado \
|
|
ipython
|
|
|
|
EXPOSE 8888
|
|
|
|
ADD notebook.sh /
|
|
RUN chmod u+x /notebook.sh \
|
|
&& mkdir -p /root/notebooks
|
|
|
|
WORKDIR /root/notebooks
|
|
|
|
CMD ["/notebook.sh"]
|