summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/docker')
-rw-r--r--utils/test/reporting/docker/Dockerfile4
-rw-r--r--utils/test/reporting/docker/supervisor.conf2
2 files changed, 5 insertions, 1 deletions
diff --git a/utils/test/reporting/docker/Dockerfile b/utils/test/reporting/docker/Dockerfile
index 42f019a45..ad278ce1e 100644
--- a/utils/test/reporting/docker/Dockerfile
+++ b/utils/test/reporting/docker/Dockerfile
@@ -42,6 +42,10 @@ RUN pip install --upgrade pip
RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng /home/opnfv
RUN pip install -r ${working_dir}/docker/requirements.pip
+WORKDIR ${working_dir}/api
+RUN pip install -r requirements.txt
+RUN python setup.py install
+
WORKDIR ${working_dir}
RUN docker/reporting.sh
diff --git a/utils/test/reporting/docker/supervisor.conf b/utils/test/reporting/docker/supervisor.conf
index 1e0eed9c8..5e315babe 100644
--- a/utils/test/reporting/docker/supervisor.conf
+++ b/utils/test/reporting/docker/supervisor.conf
@@ -3,7 +3,7 @@ nodaemon = true
[program:reporting_tornado]
user = root
-directory = /home/opnfv/utils/test/reporting/api
+directory = /home/opnfv/utils/test/reporting/api/api
command = python server.py --port=800%(process_num)d
process_name=%(program_name)s%(process_num)d
numprocs=4