thedocks/caddy/Dockerfile
2022-05-09 16:19:13 +01:00

14 lines
351 B
Docker

# caddy with duckdns
# @created 2022-03
# author="Andy Bunce"
ARG VERSION=caddy:2.5.0
FROM $VERSION-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/duckdns \
--with github.com/greenpau/caddy-security \
--with github.com/greenpau/caddy-trace@v1.1.9
FROM $VERSION
COPY --from=builder /usr/bin/caddy /usr/bin/caddy