install TA-lib in Dockerfile
This commit is contained in:
parent
44b9da5159
commit
e28e2f62cd
@ -1,5 +1,14 @@
|
|||||||
FROM python:3.6.2
|
FROM python:3.6.2
|
||||||
|
|
||||||
|
RUN pip install numpy
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get -y install build-essential
|
||||||
|
RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
|
||||||
|
RUN tar zxvf ta-lib-0.4.0-src.tar.gz
|
||||||
|
RUN cd ta-lib && ./configure && make && make install
|
||||||
|
RUN pip install TA-Lib
|
||||||
|
ENV LD_LIBRARY_PATH /usr/local/lib
|
||||||
|
|
||||||
RUN mkdir -p /freqtrade
|
RUN mkdir -p /freqtrade
|
||||||
WORKDIR /freqtrade
|
WORKDIR /freqtrade
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user