Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
build(docker): copy only Rust inputs into the cargo stage
Tw9339b0ffe3a120
diff --git a/Dockerfile b/Dockerfileindex 3469d939..a490cf83 100644--- a/Dockerfile+++ b/Dockerfile@@ -26,7 +26,12 @@ RUN rustc --version && echo "Rust version verified"# Share the system toolchain layer between compilation and the final image.FROM base AS cargo-builder-COPY . /pake+# Only what the Rust build reads, so a change elsewhere (docs, CLI sources,+# the contributors image) keeps the compiled dependency layer cached.+# frontendDist points at ../dist, which only has to exist here.+COPY rust-toolchain.toml /pake/+COPY src-tauri /pake/src-tauri+RUN mkdir -p /pake/distWORKDIR /pake/src-tauri# Build cargo packages and store cacheRUN --mount=type=cache,target=/usr/local/cargo/registry \