Docker/caddy-duckdns.Dockerfile

8 lines
210 B
Docker
Raw Normal View History

ARG CADDY_VERSION=latest
FROM caddy:${CADDY_VERSION}-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/duckdns
FROM caddy:${CADDY_VERSION}
COPY --from=builder /usr/bin/caddy /usr/bin/caddy