Merge pull request #1 from vertti/add-docker-support

Add docker support
This commit is contained in:
Michael Egger 2017-08-31 12:46:10 +02:00 committed by GitHub
commit a0a134af3f
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 $ pip install -r requirements.txt
$ ./main.py $ ./main.py
``` ```
#### Docker
```
$ cd freqtrade
$ docker build -t freqtrade .
$ docker run --rm -it freqtrade
```