homelab/caddy/Dockerfile

9 lines
162 B
Docker
Raw Permalink Normal View History

2025-01-09 22:43:51 +01:00
FROM caddy:2.8-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare
FROM caddy:2.8
COPY --from=builder /usr/bin/caddy /usr/bin/caddy