pesde/Dockerfile
2024-10-25 12:07:07 +02:00

13 lines
282 B
Docker

FROM rust:1.82-bookworm AS builder
COPY . .
RUN cargo build --release -p pesde-registry
FROM debian:bookworm-slim
COPY --from=builder /target/release/pesde-registry /usr/local/bin/
RUN apt-get update && apt-get install -y ca-certificates
CMD ["/usr/local/bin/pesde-registry"]