If you are using Windows, you may run into issues running the project in Docker & using hot-reloading. This is because since we are using a Linux-based image to run the project, we also need to build the project in a Linux environment.
Please refer to the following article to enable WSL2 on Windows using Docker Desktop: https://docs.docker.com/desktop/windows/wsl/
Once enabled, you can install Ubuntu from the Microsoft Store, and then run the project through Ubuntu. Make sure to rebuild the project by running docker-compose up --build
Finally - make sure your application (the physical directory on your filesystem) is inside the WSL2 filesystem, not the Windows filesystem: https://www.howtogeek.com/426749/how-to-access-your-linux-wsl-files-in-windows-10/