update Dockerfiles: install system ca certs

This commit is contained in:
Denis-Cosmin Nutiu 2025-01-04 18:16:13 +02:00
parent dd2f9c5cbc
commit ffafd95604
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ RUN cargo build --profile release
FROM debian:bookworm-slim AS runner FROM debian:bookworm-slim AS runner
WORKDIR /app WORKDIR /app
RUN apt-get update && apt-get -y install libssl3 RUN apt-get update && apt-get -y install libssl3 && apt-get -y install ca-certificates
COPY --from=builder /app/target/release/bot /app/bot COPY --from=builder /app/target/release/bot /app/bot

View file

@ -26,7 +26,7 @@ RUN cargo build --profile release
FROM debian:bookworm-slim AS runner FROM debian:bookworm-slim AS runner
WORKDIR /app WORKDIR /app
RUN apt-get update && apt-get -y install libssl3 RUN apt-get update && apt-get -y install libssl3 && apt-get -y install ca-certificates
COPY --from=builder /app/target/release/scrapper /app/scrapper COPY --from=builder /app/target/release/scrapper /app/scrapper