I’m using docker-compose to run tests for my project, and I use volumes to get my application code into docker-compose.
In circle 2.0 docker volumes don’t work, and it looks like the recommended solution to get files into a docker image is to use docker cp as specified here: https://circleci.com/docs/2.0/building-docker-images/
However, docker-compose has no cp option, and I can’t figure out an equivalent workaround with docker-compose to get my project files into docker-compose so that I can run tests. I think I can use docker cp with docker-compose after docker-compose up is already running, but docker-compose up instantly fails for me since all my files are missing, which is a bit of a catch 22. Is there some equivalent technique to what’s described in the above article that can work for docker-compose?