I have the following ci build set up https://github.com/Bixal/drupal-project/blob/settings-automation/.circleci/config.yml
In this build I have a docker-compose setup that I’m trying to test. In short I want to be able to run a docker compse up, run composer, and do a quick database install.
I am not quite understanding the documentation on mounting folders here at https://circleci.com/docs/2.0/building-docker-images/#mounting-folders .
I get to the composer install step
docker-compose run php composer install and get an error message saying no composer.json is there. Running
docker-compose run php ls /var/www/html reveals an empty dir. I’m a bit at a loss how this is working because in my latest build I’m running the actual --build flags and can see the output where I have my COPY commands.
Any help or advice would be appreciated.