from datetime import datetime
from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello world, from Docker with Flask'

@app.route('/time')
def time():
    return str(datetime.now())

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