Update Dockerfile

This commit is contained in:
Lennart
2025-01-26 14:08:02 +01:00
parent 6d9b7da43c
commit 79d0b4f967

View File

@@ -36,7 +36,7 @@ COPY --from=planner /rustical/recipe.json recipe.json
RUN cargo chef cook --release --target "$(cat /tmp/rust_target)"
COPY . .
RUN --mount=type=cache,target=target cargo install --target "$(cat /tmp/rust_target)" --path .
RUN cargo install --target "$(cat /tmp/rust_target)" --path .
FROM scratch
COPY --from=builder /usr/local/cargo/bin/rustical /usr/local/bin/rustical