FROM rust:1.85 WORKDIR /usr/src/mqtt-exporter COPY . . RUN cargo install --path . CMD ["mqtt-exporter"]