diff --git a/Dockerfile b/Dockerfile index 5e3f1d645056eaa591ebb2cb208ff638648c5ed6..d08556017a0cd1fa1e009c216b1711176f459b08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,4 +23,4 @@ CMD ["poetry", "run", "python", "manage.py", "runserver", "0.0.0.0:8000"] FROM base AS prod COPY . . -CMD ["poetry", "run", "gunicorn", "-b", "0.0.0.0:8000", "steering.wsgi"] +CMD ["sh", "-c", "poetry run gunicorn --bind 0.0.0.0:8000 --workers $(nproc) steering.wsgi"]