From 37b0599661f1e2cd9a7c9591bcfe809bb1c3a49c Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Mon, 26 Sep 2022 21:39:14 -0400 Subject: [PATCH] Use shell command --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cca5a45d..0c49d685 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"] -- GitLab