From 72f89277255f594c13ed7e08ecf6814d1eeb9367 Mon Sep 17 00:00:00 2001 From: udayakr <37626471+udayakr@users.noreply.github.com> Date: Sun, 10 Feb 2019 16:04:22 +0530 Subject: [PATCH] added pytest --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 85d243b..b009688 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,7 @@ FROM python:3.6 COPY . /app WORKDIR /app RUN pip install -r requirements.txt +RUN pip install docker-py feedparser nosexcover prometheus_client pycobertura pylint pytest pytest-cov requests setuptools sphinx +RUN wget -qO /usr/local/bin/qcoverage https://github.com/qnib/qcoverage/releases/download/v0.1/qcoverage_v0.1_Linux \ + && chmod +x /usr/local/bin/qcoverage CMD ["gunicorn", "-w 4", "main:app"]