fix: --install is a mistake, use install

This commit is contained in:
2024-10-10 11:30:00 -04:00
parent 66e27be736
commit 01695e6f09

View File

@@ -2,7 +2,7 @@ FROM rust:1.81 AS builder
WORKDIR /usr/src/bot
COPY . .
RUN cargo --install --path .
RUN cargo install --path .
FROM ubuntu:24.10
COPY --from=builder /usr/local/cargo/bin/bot /usr/local/bin/bot