Dockerfile: Install ca-certificates in the built container image

This commit is contained in:
mirsal 2024-11-25 04:08:38 +00:00
parent d0ac11ea89
commit e951fcdf83
Signed by: mirsal
GPG Key ID: F78F9FE84AE5B610

View File

@ -19,7 +19,7 @@ RUN cargo build --release
FROM debian:bookworm-slim FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends libssl3 && apt-get clean RUN apt-get update && apt-get install -y --no-install-recommends libssl3 ca-certificates && apt-get clean
COPY --from=build /matrix-feedbot/target/release/matrix-feedbot . COPY --from=build /matrix-feedbot/target/release/matrix-feedbot .
CMD ["./matrix-feedbot"] CMD ["./matrix-feedbot"]