diff --git a/Cargo.toml b/Cargo.toml index ae0a82f..6361ea6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT" [dependencies] serenity = { version="0.11.5", features=["builder", "client", "gateway", "model", "utils", "collector"], default-features = false } -poise = { version="0.5.2" } +poise = { version="0.5.5" } serde_json = "1.0.95" serde_derive = "1.0.159" tokio = { version="1.28.0", features = ["macros", "rt-multi-thread"] } diff --git a/Dockerfile b/Dockerfile index a0240f4..ffab158 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:slim-bullseye AS base +FROM rust:slim-bookworm AS base RUN apt-get update RUN apt-get install libssl-dev pkg-config -y RUN cargo install cargo-chef @@ -14,12 +14,8 @@ RUN cargo chef cook --release --recipe-path recipe.json COPY . . RUN cargo build --release --bin obsessed-yanqing -FROM bitnami/minideb:bullseye -RUN apt-get update -RUN apt-get install ca-certificates -y -RUN apt-get clean autoclean -RUN apt-get autoremove --yes -RUN rm -rf /var/lib/{apt,dpkg,cache,log}/ +FROM debian:bookworm-slim +RUN apt-get update && apt-get install ca-certificates libssl3 -y && apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/ WORKDIR /root/ COPY --from=builder /app/target/release/obsessed-yanqing . CMD ["./obsessed-yanqing"] \ No newline at end of file