1 2 3 4 5 6 7 8 9 10 11
FROM rust:1.76.0 RUN apt update && apt install -y iproute2 WORKDIR /failover COPY . /failover/ RUN cargo build CMD [ "./target/debug/failover", "file-mode" ]