Erro ao executar docker-compose exec php composer new-install [Resolvido]

Olá!

Ao executar o comando:

docker-compose exec php composer new-install

O seguinte erro apresenta na tela:
OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused “exec: “composer”: executable file not found in $PATH”: unknown

Preciso de ajuda, pois não consigo sair deste erro :frowning:

após executar:
docker-compose up -d --build

executar dentro da pasta i-educar:
curl -sS https://getcomposer.org/installer | php
php composer.phar
docker-compose exec php ./composer.phar new-install

Depois segue: docker-compose port nginx 80