All checks were successful
Build and Push Docker Image / Build And Push Docker Image (push) Successful in 33s
10 lines
458 B
Docker
10 lines
458 B
Docker
FROM rust:1.81@sha256:7b7f7ae5e49819e708369d49925360bde2af4f1962842e75a14af17342f08262 AS builder
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN cargo install --path .
|
|
|
|
FROM debian:12.7@sha256:e11072c1614c08bf88b543fcfe09d75a0426d90896408e926454e88078274fcb
|
|
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"]
|