[Answered ]-Django with docker compose can not open file '/code/manage.py

1👍

Your docker image root and manage.py are not in the same directory. The image root is one level above.

Try: python ./<directory_in_which_manage_py_is_located>/manage.py runserver 0.0.0.0:8000 in your docker-compose.yml file.

Leave a comment