FROM ekidd/rust-musl-builder as base WORKDIR /app/cuddle/ RUN cargo install --target x86_64-unknown-linux-musl --git https://git.front.kjuulh.io/kjuulh/cuddle.git cuddle_cli FROM docker:stable-dind COPY --from=base /usr/local/cargo/bin/ /usr/local/cargo/bin/ ENV PATH="${PATH}:/usr/local/cargo/bin"