caddy/Containerfile
Viktor Varland 964db5fac7
All checks were successful
build / build (push) Successful in 3m4s
refactor: use containerfile over dockerfile
2024-02-02 20:50:22 +01:00

14 lines
320 B
Docker

FROM docker.io/caddy:2.7.6-builder AS builder
#
## build with additional plugins
#
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/mholt/caddy-dynamicdns \
--with github.com/greenpau/caddy-security
FROM docker.io/caddy:2.7.6
COPY --from=builder /usr/bin/caddy /usr/bin/caddy