2025-01-07 08:01:26 +00:00
|
|
|
FROM caddy:2.8.4-builder-alpine@sha256:edc6e5121f18919c8f0acb4c578a271ce1806d1a5f0bfd15180b17eedcccd793 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2025-01-07 14:04:13 +00:00
|
|
|
FROM caddy:2.8.4-alpine@sha256:886f7caa715bd1d31c8a0253841a441d93d5fe374b9d9a3e3cf675088d3ab9ce
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|