gunicorn config added

This commit is contained in:
Reetta S
2021-05-20 21:53:36 +03:00
parent ffcb55134a
commit a33a318ad2
4 changed files with 10 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
.env
*.pyc
__pycache__
venv
-1
View File
@@ -1,5 +1,4 @@
from flask import Flask
app = Flask(__name__)
@app.route("/")
+2
View File
@@ -0,0 +1,2 @@
bind = "0.0.0.0:8080"
workers = 2
+7
View File
@@ -0,0 +1,7 @@
click==8.0.1
Flask==2.0.0
gunicorn==20.1.0
itsdangerous==2.0.1
Jinja2==3.0.1
MarkupSafe==2.0.1
Werkzeug==2.0.1