use uvicorn directly, fix f-string error

This commit is contained in:
Micha Albert 2024-09-14 21:48:04 -04:00
parent 743692cac9
commit 5b17a6aef5
No known key found for this signature in database
GPG key ID: 33149159A417BBCE
2 changed files with 2 additions and 2 deletions

View file

@ -20,4 +20,4 @@ RUN prisma generate
COPY main.py .
CMD [ "fastapi", "run", "main.py" ]
CMD [ "uvicorn", "main:api", "--log-level", "warning", "--workers", "4", "--host", "0.0.0.0", "--port", "8000" ]