mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 10:33:47 +01:00
13 lines
266 B
Docker
13 lines
266 B
Docker
FROM rust:1.86-alpine3.21 AS builder
|
|
|
|
COPY . .
|
|
|
|
RUN apk update && apk add musl-dev libressl-dev
|
|
|
|
RUN cargo build --release -p pesde-registry
|
|
|
|
FROM alpine:3.21
|
|
|
|
COPY --from=builder /target/release/pesde-registry /usr/local/bin/
|
|
|
|
CMD ["/usr/local/bin/pesde-registry"]
|