Skip to content

Commit 75cec49

Browse files
Replace Gunicorn with Uvicorn for the backend server and remove Gunicorn configuration
1 parent 58a3f42 commit 75cec49

File tree

4 files changed

+1
-16
lines changed

4 files changed

+1
-16
lines changed

src/App/WebApp.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ COPY --from=frontend /home/node/app/static /usr/src/app/static/
3636
WORKDIR /usr/src/app
3737
EXPOSE 80
3838

39-
CMD ["gunicorn", "-b", "0.0.0.0:80", "app:app"]
39+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80", "--workers", "4", "--log-level", "info", "--access-log"]

src/App/gunicorn.conf.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/App/requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ python-dotenv==1.0.1
77
azure-cosmos==4.9.0
88
quart==0.20.0
99
uvicorn==0.34.0
10-
gunicorn==23.0.0
1110
aiohttp==3.11.12
1211
quart-session==3.0.0
1312
pymssql==2.3.2

src/App/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ python-dotenv==1.0.1
88
azure-cosmos==4.9.0
99
quart==0.20.0
1010
uvicorn==0.34.0
11-
gunicorn==23.0.0
1211
aiohttp==3.11.12
1312
quart-session==3.0.0
1413
pymssql==2.3.2

0 commit comments

Comments
 (0)