probehost2/caddy/Dockerfile

8 lines
207 B
Docker
Raw Permalink Normal View History

2022-01-07 09:05:29 +00:00
FROM caddy:builder AS builder
RUN xcaddy build \
--with github.com/mholt/caddy-ratelimit \
--with github.com/caddy-dns/cloudflare
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy