caddy/Dockerfile

10 lines
211 B
Docker
Raw Normal View History

2023-04-19 17:45:58 +02:00
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