forked from opengridcc/opengrid-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.release
More file actions
27 lines (20 loc) · 844 Bytes
/
Dockerfile.release
File metadata and controls
27 lines (20 loc) · 844 Bytes
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
FROM ubuntu:14.04
RUN apt-get update && apt-get -y install python-numpy python-scipy python-matplotlib python-pandas python-pip libssl-dev
RUN pip install -U pip jupyter
# install opengrid
RUN pip install opengrid
# Additional installation, add to first RUN command later
RUN apt-get -y install pandoc texlive
RUN apt-get -y install texlive-latex-extra
RUN apt-get -y install wkhtmltopdf
RUN pip install seaborn pdfkit
RUN pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master
RUN jupyter contrib nbextension install --user
RUN jupyter nbextensions_configurator enable --user
# create a working dir and copy notebooks
VOLUME /usr/local/opengrid
WORKDIR /usr/local/opengrid/notebooks
ADD notebooks /usr/local/opengrid/notebooks
# create volume for the data
VOLUME /data
CMD jupyter notebook --ip='*'