Documentation
1
2
3
4
5
6
7
8
9
FROM rust:latest AS builder
WORKDIR /build
COPY . /build
RUN apt-get update && apt-get install -yqq pkg-config libssl-dev
RUN cargo build --release --target=x86_64-unknown-linux-gnu

FROM alpine:latest
COPY --from=builder /build/target/x86_64-unknown-linux-gnu/release/ppb /ppb
ENTRYPOINT ["/ppb"]