Hi there,
I'm exploring a situation where I can gain a fair amount of performance by being able to use CacheVolumes in the creation process of a Container via DockerBuild().
For example, consider the a fake Dockerfile like
FROM nodejs:18
WORKDIR /app
COPY . /app
RUN yarn install
If I were to have a cache volume for node_modules, I could expedite this image creation time. As I understand it, though, this is against the Dagger pattern.
Any suggestion or possibility for ways to magically mount into the docker context before/during build time?