caddy-custom/Dockerfile

10 lines
278 B
Docker
Raw Permalink Normal View History

2022-11-12 05:18:59 +00:00
FROM caddy:builder-alpine AS builder
RUN xcaddy build \
2022-11-12 05:34:13 +00:00
--with github.com/caddy-dns/cloudflare \
2022-11-12 05:18:59 +00:00
--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