caddy-labels/Dockerfile
ztimson f0be4ce391
Some checks failed
Build Container / Build & Push Dockerfile (push) Failing after 1s
Build Container / Tag Version (push) Has been skipped
Added versions to docker tags
2025-04-03 22:06:28 -04:00

15 lines
354 B
Docker

ARG CADDY_VERSION=2.9.1
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"]