summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/docker/Dockerfile')
-rw-r--r--utils/test/reporting/docker/Dockerfile13
1 files changed, 10 insertions, 3 deletions
diff --git a/utils/test/reporting/docker/Dockerfile b/utils/test/reporting/docker/Dockerfile
index 789df9115..42f019a45 100644
--- a/utils/test/reporting/docker/Dockerfile
+++ b/utils/test/reporting/docker/Dockerfile
@@ -29,15 +29,22 @@ ENV CONFIG_REPORTING_YAML /home/opnfv/utils/test/reporting/reporting.yaml
# Packaged dependencies
RUN apt-get update && apt-get install -y \
ssh \
+python-pip \
git-core \
wkhtmltopdf \
+nodejs \
+npm \
+supervisor \
--no-install-recommends
RUN pip install --upgrade pip
-RUN pip install -r ${working_dir}/docker/requirements.txt
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}
-CMD ["bash", "./docker/reporting.sh"]
-CMD ["bash", "mv display /usr/share/nginx/html"]
+RUN docker/reporting.sh
+
+expose 8000
+
+CMD ["/usr/bin/supervisord"]