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

Docker on windows is very picky about what paths it can access - in particular they must all be relative to the root of the compose file IIRC