pesde/Dockerfile

16 lines
283 B
Text
Raw Normal View History

2024-10-20 12:37:29 +01:00
FROM rust:1.82-bookworm AS builder
2024-03-04 20:18:49 +00:00
COPY . .
WORKDIR /registry
2024-05-05 20:31:21 +01:00
RUN cargo build --release
2024-03-04 20:18:49 +00:00
2024-05-05 20:31:21 +01:00
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"]