livebox-influxdb-connector/Dockerfile

16 lines
299 B
Docker
Raw Normal View History

FROM rust:latest AS builder
WORKDIR /root
COPY . .
RUN cargo build --release
FROM debian:stable-slim
RUN apt update && apt install -y ca-certificates openssl && apt clean
COPY --from=builder /root/target/release/lb-influx-connector /root/lb-influx-connector
CMD ["/root/lb-influx-connector"]