11 lines
416 B
Docker
11 lines
416 B
Docker
FROM library/rust:1.82 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"]
|