matrix-meshtastic-bridge/Containerfile
Finn 008f7cdc08
All checks were successful
/ build-container (push) Successful in 5m32s
Install ca-certificates
2024-10-14 19:30:36 -07:00

11 lines
416 B
Docker

FROM library/rust:1.81 AS build
# not clear what this is used for
RUN apt-get update && apt-get install -y libdbus-1-dev pkg-config
COPY . /src
WORKDIR /src
RUN cargo build --release
FROM debian:12
RUN apt-get update && apt-get install -y libssl3 ca-certificates && rm -rf /var/lib/apt/lists
COPY --from=build /src/target/release/matrix-meshtastic-bridge /matrix-meshtastic-bridge
CMD ["/matrix-meshtastic-bridge"]