caddy-custom/Dockerfile

9 lines
233 B
Docker

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