diff --git a/Procfile b/Procfile index ebb67b2..538ca43 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: python ./app.py +web: gunicorn app --log-file - diff --git a/app.py b/app.py index 93ccca7..db4659f 100755 --- a/app.py +++ b/app.py @@ -24,5 +24,6 @@ def showMap(threewords): if __name__ == '__main__': - import os - run(host='0.0.0.0', port=int(os.environ.get("PORT", 5000))) + run(host='localhost', port=8080) + +app = bottle.default_app()