Add docker support

This commit is contained in:
Samuel Husso 2017-08-27 18:15:00 +03:00
parent 7b0296ad52
commit 02b4929e3f
2 changed files with 17 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM python:3.6.2
RUN mkdir -p /freqtrade
WORKDIR /freqtrade
ADD ./requirements.txt /freqtrade/requirements.txt
RUN pip install -r requirements.txt
ADD . /freqtrade
CMD python main.py

View File

@ -51,3 +51,11 @@ $ source .env/bin/activate
$ pip install -r requirements.txt
$ ./main.py
```
#### Docker
```
$ cd freqtrade
$ docker build -t freqtrade .
$ docker run --rm -it freqtrade
```