diff options
Diffstat (limited to 'test/compose/mount_and_label/frontend/app.py')
-rw-r--r-- | test/compose/mount_and_label/frontend/app.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/compose/mount_and_label/frontend/app.py b/test/compose/mount_and_label/frontend/app.py new file mode 100644 index 000000000..bd2794d94 --- /dev/null +++ b/test/compose/mount_and_label/frontend/app.py @@ -0,0 +1,10 @@ +from flask import Flask +app = Flask(__name__) + +@app.route('/') +def hello(): + f = open("/data/message") + return f.read() + +if __name__ == '__main__': + app.run(host='0.0.0.0') |