stable/Dockerfile

21 lines
492 B
Docker
Raw Normal View History

2017-08-27 15:15:00 +00:00
FROM python:3.6.2
2017-09-03 14:35:58 +00:00
RUN apt-get update
RUN apt-get -y install build-essential
# Install TA-lib
2017-09-03 14:35:58 +00:00
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
ENV LD_LIBRARY_PATH /usr/local/lib
# Prepare environment
RUN mkdir /freqtrade
COPY . /freqtrade/
2017-08-27 15:15:00 +00:00
WORKDIR /freqtrade
# Install dependencies and execute
RUN pip install -r requirements.txt
RUN pip install -e .
CMD ["freqtrade"]