-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
35 lines (28 loc) · 829 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
33
34
35
#
# Example:
# CMD> docker run -v <hostdir>:<dockerdir> --name <customname> -e DISPLAY=$DISPLAY -it <imagename>:<tag>
#
# Assert Anaconda 64-bit
FROM continuumio/anaconda3
RUN \
apt-get update \
&& apt-get install build-essential --yes
RUN \
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz \
&& tar -xzf ta-lib-0.4.0-src.tar.gz \
&& cd ta-lib \
&& ./configure --prefix=/usr \
&& make \
&& make install \
&& ldconfig
RUN \
pip install notebook \
&& opt/conda/bin/pip install backtrader[plotting] sklearn ta-lib \
&& opt/conda/bin/conda install statsmodels seaborn
RUN \
opt/conda/bin/conda update conda \
&& opt/conda/bin/conda update --all \
&& opt/conda/bin/conda init bash
CMD [ "jupyter", "notebook", "--ip=0.0.0.0", "--allow-root" ]
# Assert Open port
EXPOSE 8888