It seems like the extra argument passed to manage.py is causing this:
RUN /code/manage.py collectstatic --noinput
Not modifying the shebang and removing the collectstatic argument like below also results in an successfull start:
- RUN /code/manage.py collectstatic --noinput
+ RUN /code/manage.py
I assume adding the -S flag is the more appropriate fix. The issue is not present when running docker compose up -d on my linux server and changing it to the -S flag makes no difference there.
I wanted to try mataro local on my windows machine before deploying it a server.
I've cloned the repo, created a
.envrc
based on the example env file.However running
docker compose up -d
produces an error:Googling the error pointed me to this thread and changing the first line in
manage.py
like below solved the issue and led to a successfull start.It seems like the extra argument passed to manage.py is causing this:
RUN /code/manage.py collectstatic --noinput
Not modifying the shebang and removing the collectstatic argument like below also results in an successfull start:
I assume adding the -S flag is the more appropriate fix. The issue is not present when running
docker compose up -d
on my linux server and changing it to the -S flag makes no difference there.I"ve created a PR for this: #89