mirror of
https://github.com/storytold/autocraft.git
synced 2026-11-28 09:09:57 +01:00
Declare SOURCE_COMMIT just before the step that writes it, so the pnpm installs are no longer rebuilt on every commit; install production dependencies in their own stage and copy node_modules as a separate layer, so a source change exports and pushes only the small app layer; fetch the runtime packages with one apt-get download call; share one pnpm toolchain stage and a pnpm store cache mount.