caddy/Dockerfile
Marko Korhonen 46a41bbff6
All checks were successful
Build Docker image / Build image (push) Successful in 2m19s
Add crowdsec
2024-06-11 11:43:31 +03:00

12 lines
304 B
Docker

ARG VERSION
FROM caddy:${VERSION}-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/jonaharagon/caddy-umami \
--with github.com/hslatman/caddy-crowdsec-bouncer/crowdsec
FROM caddy:${VERSION}
COPY --from=builder /usr/bin/caddy /usr/bin/caddy