summaryrefslogtreecommitdiffstats
path: root/docker/storperf-reporting/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/storperf-reporting/Dockerfile')
-rw-r--r--docker/storperf-reporting/Dockerfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/docker/storperf-reporting/Dockerfile b/docker/storperf-reporting/Dockerfile
new file mode 100644
index 0000000..606bac0
--- /dev/null
+++ b/docker/storperf-reporting/Dockerfile
@@ -0,0 +1,30 @@
+##############################################################################
+# 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"
+
+RUN apk add --update python py-pip
+
+COPY . /home/opnfv/storperf-reporting
+WORKDIR /home/opnfv/storperf-reporting
+RUN pip install -r /home/opnfv/storperf-reporting/requirements.txt
+
+CMD ["python", "app.py"]
+
+EXPOSE 5000 \ No newline at end of file