removed unvicorn
This commit is contained in:
2
Procfile
2
Procfile
@@ -1 +1 @@
|
|||||||
web: gunicorn -w 4 -k uvicorn.workers.UvicornWorker app:app
|
web: gunicorn app:app --workers=4
|
||||||
2
app.py
2
app.py
@@ -14,4 +14,4 @@ def index():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run()
|
serve(app, host='0.0.0.0', port=8000)
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ itsdangerous==2.0.1
|
|||||||
Jinja2==3.0.2
|
Jinja2==3.0.2
|
||||||
MarkupSafe==2.0.1
|
MarkupSafe==2.0.1
|
||||||
Werkzeug==2.0.2
|
Werkzeug==2.0.2
|
||||||
uvicorn==0.14.0
|
|
||||||
gunicorn==20.1.0
|
gunicorn==20.1.0
|
||||||
|
|||||||
Reference in New Issue
Block a user