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