Composer could not find a composer.json file in /app
gustavoper opened this issue · comments
Gustavo Pereira commented
Dominik Liebler commented
Hi @gustavoper,
which OS are you using? Seems like the volumes do not work correctly. Please verify running:
docker-compose run php ls /opt/php
and for composer:
docker-compose run composer ls /app
if neither of them shows up the repository contents, your volumes could not be mounted, which is then a general problem in your Docker installation. You could also run docker-compose config
to verify that the lokal paths are correctly set.
Nils Gajsek commented
Same problem for me on Windows 10. Here is an related issue: RobLoach/docker-composer#124
Dominik Liebler commented
I am closing this one here, as it seems to be an issue with docker-composer.