diff options
author | 2024-07-07 23:33:37 +0100 | |
---|---|---|
committer | 2024-07-08 15:00:11 +0100 | |
commit | d04e74cd9a45d11d321faf174aec86768ac2ffc6 (patch) | |
tree | 4a075255d00d9f8a2f369567bdb79f6eefa4be9a /Dockerfile | |
parent | Update to fix trailing whitespace detected by pre-commit (diff) |
Stop using gunicorn and use uvicorn directly to run application
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,4 +19,4 @@ ENV GIT_SHA=$git_sha # Start the server with uvicorn ENTRYPOINT ["poetry", "run"] -CMD ["gunicorn", "-w", "2", "-b", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "backend:app"] +CMD ["uvicorn", "backend:app", "--host", "0.0.0.0", "--port", "8000"] |