1 2 3 4 5 6 7 8 9 10
FROM rust as builder WORKDIR /app COPY . /app RUN cargo build --release FROM debian COPY --from=builder /app/target/release/ct4web_setup /usr/local/bin/ct4web_setup ENTRYPOINT ["ct4web_setup"]