Repo copied/nested in container

Hi

My repo is an addon to a CMS project.
To run my tests, i need to get the CMS’s image and then copy/clone my repo’s files within a specific destination/folder of the CMS.

Any idea of how this can done, is greatly welcome, as i am new to that and seems to require some custom approach.