mirror of
https://github.com/karakeep-app/karakeep.git
synced 2026-12-05 22:14:24 +01:00
* perf(docker): cache image layers across unrelated changes Every builder stage started from `COPY . .`, so any change in the build context (a doc, a CI file, the Dockerfile itself) rebuilt all the apps. Each stage now copies only the workspace packages its app imports. - Deploy the workers' prod node_modules before any source is copied in. The workers bundle the workspace packages, so these only depend on the manifests and the lockfile. - Move SERVER_VERSION to the end of the runtime stage, so releases don't reinstall apt packages, s6-overlay and yt-dlp. - Copy the s6 config after the system packages, and order the runtime layers from least to most often changing. - Copy the app outputs with COPY --link, and give the web app's traced node_modules a layer of their own, so unchanged outputs keep their layers (and registry blobs) when other parts change. * fix(docker): pin the Dockerfile frontend that supports COPY --exclude The e2e job's Docker Engine bundles a frontend older than 1.19, which fails to parse --exclude.