From 084cc7cd8f0b0a397cfde2d7cc336a694f2a4a96 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 12 Aug 2022 01:54:58 +0200 Subject: [PATCH] WIP: cargo path --- templates/build_cuddle_image.Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/build_cuddle_image.Dockerfile b/templates/build_cuddle_image.Dockerfile index b299621..48bd4cc 100644 --- a/templates/build_cuddle_image.Dockerfile +++ b/templates/build_cuddle_image.Dockerfile @@ -11,5 +11,6 @@ RUN cargo install --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli FROM docker:stable-dind -COPY --from=base /root/.cargo /root/.cargo -RUN export PATH="$PATH:/root/.cargo/bin/" + +COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/ +RUN export PATH="$PATH:/usr/local/cargo/bin/"