I work in a monorepo, and I am tasked with creating a python Docker image of a single app from the repo.
The app is basically what amounts to a python package, housed in a single directory of the monorepo. It maintains a BUILD file with a few targets that define dependencies on a few other packages in the monorepo; each of course with their own BUILD targets.
I ran a dependency graph and I can see a list of the dependencies of the app.
My question is:
I am wondering if there's a simple way in a bazel to group this list of dependencies into a single archive, or even just a plan directory that I can COPY onto the docker image.
My instinct is that there much be something like this. I have been looking for a couple of hours and not finding something right away. Due to the time pressure for this task, I thought I would start a thread here while I continue looking for a solution.