gunicorn server

This commit is contained in:
2022-05-15 19:21:41 +03:00
parent 683860d793
commit 3c33eea796
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
import os
from src.server import app
if __name__ == "__main__":
port = int(os.environ.get("PORT", 33507))
app.run(host="0.0.0.0", port=port)