diff options
Diffstat (limited to 'docker/Dockerfile-reporting')
-rw-r--r-- | docker/Dockerfile-reporting | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/docker/Dockerfile-reporting b/docker/Dockerfile-reporting new file mode 100644 index 0000000..ad00019 --- /dev/null +++ b/docker/Dockerfile-reporting @@ -0,0 +1,33 @@ +############################################################################## +# Copyright (c) 2017 Dell EMC and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +# Docker container for StorPerf Graphing and Reporting module +# +# Purpose: self-contained image that can create reports and graphs of data +# +# Build: +# $ docker build -t opnfv/storperf-reporting:tag . +## + + +FROM alpine:3.1 +MAINTAINER Mark Beierl <mark.beierl@dell.com> +LABEL version="0.1" description="OPNFV Storperf Reporting Container" + +ARG BRANCH=master + +RUN apk add --update python py-pip + +COPY storperf-reporting /home/opnfv/storperf-reporting +WORKDIR /home/opnfv/storperf-reporting + +RUN pip install -r /home/opnfv/storperf-reporting/requirements.txt +ENTRYPOINT ["python"] +CMD ["/home/opnfv/storperf-reporting/src/app.py"] + +EXPOSE 5000
\ No newline at end of file |