debian pls

This commit is contained in:
41666 2022-02-06 20:11:35 -05:00
parent 3c49529fe3
commit 9e057e8692

View file

@ -16,7 +16,7 @@ COPY . .
RUN cargo build --release --bin bot RUN cargo build --release --bin bot
# We do not need the Rust toolchain to run the binary! # We do not need the Rust toolchain to run the binary!
FROM debian:slim AS runtime FROM debian:bullseye-slim AS runtime
WORKDIR /app WORKDIR /app
COPY --from=builder /app/target/release/bot /usr/local/bin/bot COPY --from=builder /app/target/release/bot /usr/local/bin/bot
ENTRYPOINT ["/usr/local/bin/bot"] ENTRYPOINT ["/usr/local/bin/bot"]