-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
33 lines (28 loc) · 1.14 KB
/
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
33
FROM continuumio/anaconda3
RUN mkdir opt/notebooks
#installs gcc for C++ compiled libraries
RUN apt-get update && apt-get install -y gcc unixodbc-dev
#install and upgrade pip installer
RUN conda install pip
RUN pip install pip --upgrade
#enable condaforge channel
RUN conda config --add channels conda-forge
#install packages
RUN conda install rpy2
RUN conda install pystan
RUN conda install fbprophet
RUN conda install plotly
RUN conda install cufflinks
RUN conda install numpy
RUN conda install pandas
RUN conda install dask
RUN conda install dask distributed
#install requirements file
#RUN pip install --requirement /tmp/requirements.txt
#COPY . /tmp/
#install R forecast package
RUN R -e "install.packages(c('forecast'), repos = 'http://cran.us.r-project.org', INSTALL_opts = '--no-html')"
#ADD https://raw.githubusercontent.com/DavisTownsend/Dask-fcast/master/example_notebooks/Parallel%20Time%20Series%20Forecasting%20in%20Python%20with%20Dask.ipynb opt/notebooks
#EXPOSE 8888
#CMD ["jupyter", "notebook", "--no-browser", "--ip=0.0.0.0", "--allow-root", "--NotebookApp.token='demo'"]
#CMD jupyter notebook --no-browser --ip 0.0.0.0 --port 8888 /notebooks