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

14 lines
344 B
Docker

# caddy with duckdns
# @created 2022-03
# author="Andy Bunce"
ARG VERSION=caddy:2.5.1
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
FROM $VERSION
COPY --from=builder /usr/bin/caddy /usr/bin/caddy