diff --git a/Procfile b/Procfile index e6cb5ad..b26d119 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: python app.py \ No newline at end of file +web: gunicorn app:app -b "0.0.0.0:$PORT" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 3983b2d..7190b78 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ Flask==0.8 Pygments==1.4 +gunicorn==0.13.4