caddy/Dockerfile

10 lines
211 B
Docker

FROM caddy:2.6-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/mholt/caddy-dynamicdns
FROM caddy:2.6
COPY --from=builder /usr/bin/caddy /usr/bin/caddy