From c2954465d13f051292a8eca4bdedb14b4fa46ebf Mon Sep 17 00:00:00 2001 From: stone-w4tch3r <100294019+stone-w4tch3r@users.noreply.github.com> Date: Mon, 29 Jul 2024 04:39:57 +0500 Subject: [PATCH] dockerfile: improved copying from cargo-builder layer --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2e21b7b..b660cef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,8 @@ RUN --mount=type=cache,target=/root/.npm \ npm install COPY --from=cargo-builder /pake/src-tauri /usr/lib/node_modules/pake-cli/src-tauri +COPY --from=cargo-builder /usr/local/cargo/git /usr/local/cargo/git +COPY --from=cargo-builder /usr/local/cargo/registry/cache /usr/local/cargo/registry/cache WORKDIR /app ENTRYPOINT ["pake"]