Skip to content

Commit 0393b2a

Browse files
committed
Revert back to uvicorn
gunicorn creates multiple workers, which is good, but breaks the current way we're storing results.
1 parent 4a381df commit 0393b2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ EXPOSE 8001
2222
ENV PYTHONDONTWRITEBYTECODE=1
2323
ENV PYTHONUNBUFFERED=1
2424

25-
CMD ["poetry", "run", "gunicorn", "-b", "0.0.0.0:8000", "-k", "uvicorn.workers.UvicornWorker", "acidwatch_api.app:app"]
25+
CMD ["poetry", "run", "uvicorn", "acidwatch_api.app:app", "--host", "0.0.0.0", "--port", "8000"]

0 commit comments

Comments
 (0)