diff --git a/bot/docker/Dockerfile b/bot/docker/Dockerfile index f107f3b..dda8143 100644 --- a/bot/docker/Dockerfile +++ b/bot/docker/Dockerfile @@ -23,9 +23,11 @@ COPY . . RUN cargo build --profile release # Run the project -FROM rust:1.83.0-bookworm AS runner +FROM debian:bookworm-slim AS runner WORKDIR /app +RUN apt-get update && apt-get -y install libssl3 + COPY --from=builder /app/target/release/bot /app/bot ENTRYPOINT ["/app/bot"] \ No newline at end of file diff --git a/scrapper/docker/Dockerfile b/scrapper/docker/Dockerfile index fb55fb5..6cdde6c 100644 --- a/scrapper/docker/Dockerfile +++ b/scrapper/docker/Dockerfile @@ -23,9 +23,11 @@ COPY . . RUN cargo build --profile release # Run the project -FROM rust:1.83.0-bookworm AS runner +FROM debian:bookworm-slim AS runner WORKDIR /app +RUN apt-get update && apt-get -y install libssl3 + COPY --from=builder /app/target/release/scrapper /app/scrapper ENTRYPOINT ["/app/scrapper"] \ No newline at end of file