-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile
36 lines (27 loc) · 1.04 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
34
35
36
FROM python:3.6
MAINTAINER furion <[email protected]>
# install talib
#RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
#RUN tar -xzf ta-lib-0.4.0-src.tar.gz
#WORKDIR /ta-lib
#RUN ls
#RUN ./configure
#RUN make
#RUN make install
#ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
COPY .plotly/.credentials /root/.plotly/
COPY . /project_root
WORKDIR /project_root
ENV UNLOCK foo
RUN pip install -r requirements.txt
RUN pip install git+git://github.com/Netherdrake/steem-python@master
RUN pip install git+git://github.com/SteemData/steemdata@master
#RUN pip install TA-lib
# use old cufflinks instead
#RUN pip install --upgrade --no-deps --force-reinstall git+git://github.com/santosjorge/cufflinks.git@ef63fd24b08a082ff7ef6178754cacd57d719690
RUN pip install git+git://github.com/santosjorge/cufflinks.git@ef63fd24b08a082ff7ef6178754cacd57d719690
RUN jupyter nbconvert --to script Charts.ipynb
RUN jupyter nbconvert --to script ChartsLR.ipynb
RUN jupyter nbconvert --to script MarketCap.ipynb
RUN chmod +x run.sh
CMD "./run.sh"