Sometimes when you start the dev environment you'll see a bunch of Python crashes that make no sense.
It's because they are from a previous run, and they are being show to you a second time.
From Dockerfile this does it:
CMD ["tail", "-n", "+0", "-f", "/var/log/gunicorn/gunicorn.log"]
If you run:
docker compose -f docker-compose.dev.yml exec web rm /var/log/gunicorn/gunicorn.log
Then restart, the old errors should be gone and you'll only see errors from this run.
Sometimes when you start the dev environment you'll see a bunch of Python crashes that make no sense.
It's because they are from a previous run, and they are being show to you a second time.
From Dockerfile this does it:
If you run:
Then restart, the old errors should be gone and you'll only see errors from this run.