For docker it should be pretty straight forward. Creating a volume link between generated_files/* on host machine and docker deployment containers should do it.
For k8 deployments, not sure the best path...
- Try to have some sort of continuous synchronization
- Export selected files automatically at shutdown
b. How are these specified?