mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-10 23:12:40 +01:00
@@ -1,8 +1,6 @@
|
||||
FROM python:2.7.8
|
||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||
|
||||
RUN pip install -U numpy
|
||||
|
||||
# install linear algebra dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
gfortran \
|
||||
@@ -10,23 +8,26 @@ RUN apt-get update && apt-get install -y \
|
||||
liblapack-dev \
|
||||
libzmq-dev \
|
||||
--no-install-recommends
|
||||
RUN pip install -U scipy
|
||||
|
||||
RUN pip install -U matplotlib
|
||||
RUN pip install -U pandas
|
||||
RUN pip install -U patsy
|
||||
RUN pip install -U statsmodels
|
||||
RUN pip install -U scikit-learn
|
||||
RUN pip install -U ggplot
|
||||
RUN pip install -U pyzmq
|
||||
RUN pip install -U jinja2
|
||||
RUN pip install -U tornado
|
||||
RUN pip install -U ipython
|
||||
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
|
||||
RUN chmod u+x /notebook.sh \
|
||||
&& mkdir -p /root/notebooks
|
||||
|
||||
WORKDIR /root/notebooks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user