diff --git a/app/server.py b/app/server.py index 4640474..a9e92c2 100644 --- a/app/server.py +++ b/app/server.py @@ -1,5 +1,7 @@ """wait for hooks""" +from os import environ + from flask import Flask from main import main as run_refresh @@ -15,5 +17,5 @@ def home(): if __name__ == "__main__": - PORT = 8080 + PORT = int(environ.get("LISTEN_PORT", 8001)) app.run(host="0.0.0.0", port=PORT)