diff options
Diffstat (limited to 'reporting/docker/Dockerfile')
-rw-r--r-- | reporting/docker/Dockerfile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/reporting/docker/Dockerfile b/reporting/docker/Dockerfile index c748254..541845c 100644 --- a/reporting/docker/Dockerfile +++ b/reporting/docker/Dockerfile @@ -15,7 +15,7 @@ ## -FROM nginx:1.13.1-alpine +FROM alpine:3.1 MAINTAINER Mark Beierl <mark.beierl@dell.com> LABEL version="0.1" description="OPNFV Storperf Reporting Container" @@ -24,3 +24,11 @@ ARG BRANCH=master ENV repos_dir /home/opnfv/repos WORKDIR /home/opnfv +RUN apk add --update python py-pip + +COPY . /app +WORKDIR /app +RUN pip install -r requirements.txt +ENTRYPOINT ["python"] +CMD ["./src/app.py"] +EXPOSE 5000
\ No newline at end of file |