Simple Python Flask web application designed for running in containers for demos
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import os |
|
from app import app |
|
|
|
if __name__ == "__main__": |
|
port = int(os.environ.get("PORT", 5000)) |
|
app.jinja_env.auto_reload = True |
|
app.config['TEMPLATES_AUTO_RELOAD'] = True |
|
app.run(host='0.0.0.0', port=port) |