Compare commits

..

1 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
4f50f6bb7e fix: fixed issue with the uvicorn worker command 2024-10-10 17:59:38 +02:00

View File

@@ -15,7 +15,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
RUN pip install 'uvicorn[standard]'
EXPOSE 9000
CMD ["uvicorn", "app.main:app", "-w", "6" , "--host", "0.0.0.0", "--port", "9000"]
CMD ["uvicorn", "app.main:app", "--workers", "6" , "--host", "0.0.0.0", "--port", "9000"]
# Install curl
RUN apt-get update && apt-get install -y curl && apt-get clean