summaryrefslogtreecommitdiff
path: root/test/compose/env_and_volume/read/app.py
blob: 71fbbb26af2cec1e667ed162169ef854f4e7f40e (plain)
1
2
3
4
5
6
7
8
9
10
from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello():
    f = open("/data/message", "r")
    return f.read()

if __name__ == '__main__':
	app.run(host='0.0.0.0')