This commit is contained in:
Zakary Timson 2025-04-02 13:39:44 -04:00
commit 052c7e1cae

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
ARG CADDY_VERSION=2.7.6
FROM caddy:${CADDY_VERSION}-builder AS builder
RUN xcaddy build \
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
--with github.com/caddy-dns/cloudflare \
--with github.com/caddy-dns/route53
FROM caddy:${CADDY_VERSION}-alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
CMD ["caddy", "docker-proxy"]