Move `ADD` later to take advantage of cache
Closed this issue · 1 comments
Reecepbcups commented
When running heighliner build -c juno --local -f ./chains.yaml
the CMD ADD . .
is at the top of the file. Meaning any small change requires an entire re-compile of every base dependency non chain related as well. (~35 minutes)
This should be moved to as late as possible before compiling to optimize speeds
Reecepbcups commented
Ill mess around and make a PR if I figure it out