13 lines
252 B
Docker
13 lines
252 B
Docker
FROM caddy:2.6.4-builder AS builder
|
|
|
|
#
|
|
## build with additional plugins
|
|
#
|
|
RUN xcaddy build \
|
|
--with github.com/caddy-dns/cloudflare \
|
|
--with github.com/mholt/caddy-dynamicdns
|
|
|
|
FROM caddy:2.6.4
|
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|