You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(cli): split deployed image dependencies and code into separate layers
The final image stage copied all of /app in one layer, so node_modules
was re-pushed and re-pulled on every deploy even when dependencies were
unchanged. Copy node_modules as its own layer and the bundled code
(via a stage that strips node_modules) separately, so unchanged
dependencies produce an identical blob that registries and workers
already have.
Deployed images now ship dependencies and bundled task code as separate layers. Repeat deploys with unchanged dependencies push and pull far less data, making deploys and worker image pulls faster.
0 commit comments