mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
15 lines
283 B
Docker
15 lines
283 B
Docker
FROM rust:1.82-bookworm AS builder
|
|
|
|
COPY . .
|
|
|
|
WORKDIR /registry
|
|
|
|
RUN cargo build --release
|
|
|
|
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"]
|