Skip to content

Instantly share code, notes, and snippets.

@whittlem
Created August 19, 2021 22:23
python-flask-run.py
import os
from app import app
if __name__ == "__main__":
port = int(os.environ.get("PORT", 5000))
app.run(host='0.0.0.0', port=port, debug=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment