caddy-custom/Dockerfile
2022-11-12 00:29:43 -05:00

10 lines
271 B
Docker

FROM caddy:builder-alpine AS builder
RUN xcaddy build \
--with dns.providers.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