Mac os "make up" error

If you recive an Error like:

[ErrorException]                              
  chdir(): No such file or directory (errno 2) 

or

/Library/Developer/CommandLineTools/usr/bin/make vendor
make[1]: Nothing to be done for `vendor'.
/Library/Developer/CommandLineTools/usr/bin/make migrate
docker-compose exec -w /var/www php ./vendor/bin/phinx migrate -c phinx.php -e dev
OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "exec: \"./vendor/bin/phinx\": stat ./vendor/bin/phinx: no such file or directory": unknown
make[1]: *** [migrate] Error 126
make: *** [up] Error 2

the PHP Container volume need to be :cached on Mac os, like this:

    php: 
        build:
            context: '.'
            dockerfile: docker/php/Dockerfile
        volumes:
            - ./app:/var/www:cached <---------