diff --git a/Dockerfile b/Dockerfile index cca5a45d08d54f6d4054069effc9288789a4a461..0c49d685e15f0ee0ced26dd2784587cce658d0e9 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", "-w", "$(nproc)", "steering.wsgi"] +CMD ["sh", "-c", "poetry", "run", "gunicorn", "-b", "0.0.0.0:8000", "-w", "$(nproc)", "steering.wsgi"]