pesde/Dockerfile

16 lines
283 B
Text
Raw Permalink Normal View History

FROM rust:1.81-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"]