FROM rust:bullseye AS builder RUN apt-get update && apt-get install -y libssl-dev ca-certificates cmake git WORKDIR /app ADD . /app RUN cargo build --release FROM debian:bullseye RUN apt-get update && apt-get install -y libssl-dev curl ca-certificates RUN curl -fsSL https://get.docker.com | sh COPY --from=builder /app/target/release/robopages /usr/bin/robopages ENTRYPOINT ["/usr/bin/robopages"]