caddy-custom/Dockerfile

10 lines
278 B
Docker

FROM caddy:builder-alpine AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/greenpau/caddy-security@v1.1.16 \
--with github.com/greenpau/caddy-trace@v1.1.10
FROM caddy:alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy