awesome-compose/nginx-wsgi-flask/flask/wsgi.py

6 lines
140 B
Python
Raw Permalink Normal View History

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)