Skip to content
Snippets Groups Projects
Commit 63d67e42 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Restore CMD with sh for prod

This should be enough for now
parent 53d80ff7
No related branches found
No related tags found
No related merge requests found
Pipeline #2485 passed
......@@ -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"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment