forked from jupyter/colaboratory
/
Dockerfile
32 lines (26 loc) · 1012 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM debian:wheezy
RUN sed -i '1i deb http://gce_debian_mirror.storage.googleapis.com/ wheezy \
main' etc/apt/sources.list
RUN apt-get update
# Install libraries: pip, python dev, vitualenv, zmq, ...
RUN apt-get install -y git python-pip python-dev liblapack-dev libatlas-base-dev gfortran libfreetype6-dev libpng12-dev libzmq-dev && \
easy_install -U distribute && \
pip install -U Cython && \
pip install numpy scipy pandas matplotlib scikit-learn && \
pip install patsy && \
pip install statsmodels && \
pip install python-gflags google-api-python-client && \
pip install openpyxl && \
pip install pyzmq jinja2 tornado && \
pip install yt && \
pip install bokeh && \
pip install ipython[notebook] && \
apt-get remove -y --purge python-dev libatlas-base-dev gfortran && \
apt-get autoremove -y --purge && \
apt-get clean -y
ADD / /colaboratory/
WORKDIR /colaboratory
# Install coLaboratory
RUN pip install -r requirements.txt
# Run
CMD python -m colaboratory --ip='*'