From 02b4929e3f221bc4f1f1cf17bf23837efdcaa494 Mon Sep 17 00:00:00 2001 From: Samuel Husso Date: Sun, 27 Aug 2017 18:15:00 +0300 Subject: [PATCH] Add docker support --- Dockerfile | 9 +++++++++ README.md | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..f43f12e16 --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 73a4ce644..6479bf8ea 100644 --- a/README.md +++ b/README.md @@ -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 +```