update Dockerfiles: install system ca certs
This commit is contained in:
parent
dd2f9c5cbc
commit
ffafd95604
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue