-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (16 loc) · 829 Bytes
/
Dockerfile
File metadata and controls
20 lines (16 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM continuumio/anaconda3
ADD https://raw.githubusercontent.com/DavisTownsend/Cryfolio/master/requirements.txt /tmp/
RUN mkdir opt/notebooks
#installs gcc for Twisted which is a dependency of python-binance module
RUN apt-get update && apt-get install -y gcc unixodbc-dev
#RUN conda install --yes --file /home/requirements.txt
#install and upgrade pip installer
RUN conda install pip
RUN pip install pip --upgrade
#install requirements file
RUN pip install --requirement /tmp/requirements.txt
COPY . /tmp/
ADD https://raw.githubusercontent.com/DavisTownsend/Cryfolio/master/notebooks/cryfolio.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