fix: --install is a mistake, use install
This commit is contained in:
@@ -2,7 +2,7 @@ FROM rust:1.81 AS builder
|
|||||||
WORKDIR /usr/src/bot
|
WORKDIR /usr/src/bot
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN cargo --install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM ubuntu:24.10
|
FROM ubuntu:24.10
|
||||||
COPY --from=builder /usr/local/cargo/bin/bot /usr/local/bin/bot
|
COPY --from=builder /usr/local/cargo/bin/bot /usr/local/bin/bot
|
||||||
|
|||||||
Reference in New Issue
Block a user