summaryrefslogtreecommitdiffstats
path: root/reporting/docker/app.py
diff options
context:
space:
mode:
authorsaksham115 <saksham.agrawal@research.iiit.ac.in>2017-06-23 15:35:49 +0530
committerSaksham Agrawal <saksham.agrawal@research.iiit.ac.in>2017-07-06 13:49:29 +0000
commitd8526cbd2ca9e8c0953d5b62f77457eb57465ca7 (patch)
tree71346fdb9c5285e95a59b5ca0219e7010ac2b2ae /reporting/docker/app.py
parentf8b67cf03ecbd4d6ab1fd115ef155d4334df266a (diff)
Dockerfile for reporting module updated
JIRA: STORPERF-162 Change-Id: If012cf4ce2c03851c2ceb3744dd3a2f366cb65d5 Signed-off-by: saksham115 <saksham.agrawal@research.iiit.ac.in>
Diffstat (limited to 'reporting/docker/app.py')
-rw-r--r--reporting/docker/app.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/reporting/docker/app.py b/reporting/docker/app.py
new file mode 100644
index 0000000..8f1c058
--- /dev/null
+++ b/reporting/docker/app.py
@@ -0,0 +1,9 @@
+from flask import Flask
+app = Flask(__name__)
+
+@app.route('/')
+def hello_world():
+ return 'Hello World'
+
+if __name__ == '__main__':
+ app.run(debug=True, host='0.0.0.0', threaded=True)