Now actually fix builds

This commit is contained in:
Lennart
2026-01-15 23:19:35 +01:00
parent 60b45e70ad
commit e68dc921e6
3 changed files with 69 additions and 70 deletions

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 cargo install --target "$(cat /tmp/rust_target)" --path .
RUN cargo install --locked --target "$(cat /tmp/rust_target)" --path .
FROM scratch
COPY --from=builder /usr/local/cargo/bin/rustical /usr/local/bin/rustical