matrix-meshtastic-bridge/Containerfile

12 lines
400 B
Text
Raw Normal View History

2024-10-14 23:14:20 +00:00
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 && rm -rf /var/lib/apt/lists
2024-10-14 23:14:20 +00:00
COPY --from=build /src/target/release/matrix-meshtastic-bridge /matrix-meshtastic-bridge
CMD ["/matrix-meshtastic-bridge"]