All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 7m35s
10 lines
458 B
Docker
10 lines
458 B
Docker
FROM rust:1.84@sha256:738ae99a3d75623f41e6882566b4ef37e38a9840244a47efd4a0ca22e9628b88 AS builder
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN cargo install --path .
|
|
|
|
FROM debian:12.9@sha256:321341744acb788e251ebd374aecc1a42d60ce65da7bd4ee9207ff6be6686a62
|
|
RUN apt-get update && apt-get -y install ca-certificates && rm -rf /var/lib/apt/lists/*
|
|
COPY --from=builder /usr/local/cargo/bin/cloudflare-dynamic-dns /usr/local/bin/cloudflare-dynamic-dns
|
|
CMD ["cloudflare-dynamic-dns"]
|