How can I fix the error mounting caused "not a directory" when using docker-compose?