cookiecutter-django
cookiecutter-django copied to clipboard
Python: can't open file '/app/manage.py': [Errno 2] No such file or directory - Django - Docker Compose
- Cookiecutter version: 2.6.0
- Template project url: https://github.com/cookiecutter/cookiecutter-django
- Python version: 3.12.2-slim-bookworm
- Operating System:
Description:
When I create a Django project using Cookiecutter and run docker compose right after the project is created (docker-compose -f .\local.yml up -d --build) (local.yml), the django container gives me an error when running (starting script) (Python: cannot open file '/app/ management.py').
I don't know exactly where the problem lies
Hey there! I was having the same issue on my windows machine, it didn't occur on another windows machine of mine. Therefore I guess it has something to do with the docker engine and/or wsl distro. I haven't figured it out yet but maybe this helps you to.