FROM docker.io/library/rust:1.69 ENV AOC_RUN_PORT=4147 RUN mkdir aocrun WORKDIR aocrun ADD Cargo.toml . ADD build.rs . ADD src ./src/ ADD proto ./proto/ RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive \ apt-get install --no-install-recommends --assume-yes \ protobuf-compiler RUN cargo build --release CMD ["./target/release/aocrun"]