awesome-compose/nginx-wsgi-flask/flask/wsgi.py
Grant Birkinbine 4480b64e58
init (#120)
Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
2021-04-06 11:54:06 +02: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)