[mod] caddyfile

This commit is contained in:
Andy Bunce 2022-03-29 22:21:05 +01:00
parent ec8c3f6b38
commit 322bf3170d
5 changed files with 51 additions and 20 deletions

13
caddy/DockerFile Normal file
View file

@ -0,0 +1,13 @@
# caddy with duckdns
# @created 2022-03
# author="Andy Bunce"
ARG VERSION=caddy:2.4.6
FROM $VERSION AS builder
RUN xcaddy build \
--with github.com/caddy-dns/duckdns
FROM $VERSION
COPY --from=builder /usr/bin/caddy /usr/bin/caddy