probehost2/caddy/Dockerfile
2022-01-07 10:05:29 +01:00

8 lines
207 B
Docker

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