FROM rust:1.52-alpine3.13 AS builder WORKDIR /src COPY Cargo.toml Cargo.lock ./ COPY src ./src/ RUN cargo build \ --release FROM alpine:3.13 COPY --from=builder /src/target/release/hilde /usr/local/bin/hilde ENTRYPOINT [ "/usr/local/bin/hilde" ]