caddy-custom/Dockerfile

10 lines
271 B
Docker
Raw Normal View History

2022-11-12 05:18:59 +00:00
FROM caddy:builder-alpine AS builder
RUN xcaddy build \
2022-11-12 05:29:43 +00:00
--with dns.providers.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