forked from
baileytownsend.dev/pds-gatekeeper
Microservice to bring 2FA to self hosted PDSes
1FROM rust:1.89.0-bookworm AS builder
2WORKDIR /app
3COPY ../ /app
4RUN cargo build --release
5#
6FROM rust:1.89-slim-bookworm AS api
7RUN apt-get update
8RUN apt-get install -y ca-certificates
9COPY --from=builder /app/target/release/pds_gatekeeper /usr/local/bin/pds_gatekeeper
10CMD ["pds_gatekeeper"]