Closed matejvasek closed 2 years ago
@lance you can define layering by list of globs for each layer, those files/directories need to be under <app>
directory (/workspace).
This allows to have artifacts that are changed often in separate layer. So if only app code is updated (not libraries) only 300KiB are pushed instead of 12MiB.
It wasn't obvious to me how to this from doc either. There aren't much examples.
The layering might be beneficial for other rumtimes too (e.g. putting node_modules into separate layer so changes to application code are can be pushed independently).
@lance shall I merge this?
Signed-off-by: Matej Vasek mvasek@redhat.com