awesome-compose/nginx-wsgi-flask/flask/wsgi.py
grantbirki 55225b5e5c
adding nginx-wsgi-flask docker-compose sample
Signed-off-by: grantbirki <grant.birkinbine@gmail.com>
Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
2021-03-20 22:04:01 -07:00

6 lines
140 B
Python

from app import app
import os
if __name__ == "__main__":
app.run(host='0.0.0.0', port=os.environ.get("FLASK_SERVER_PORT"), debug=True)