mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
673ad579dc
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
36 lines
555 B
Docker
36 lines
555 B
Docker
FROM python:2.7
|
|
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"]
|