awesome-compose/nginx-wsgi-flask/flask/wsgi.py
Grant Birkinbine 65acec76ed init
Signed-off-by: Grant Birkinbine <grant.birkinbine@gmail.com>
2021-03-27 09:45:43 -06: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)