2023-12-01 07:02:37 +00:00
|
|
|
FROM caddy:2.7.5-builder-alpine@sha256:96245aa7afa56af2e11f391e6d118b49a8f72f2a698063bc396f2dc7a826e708 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-12-01 07:02:18 +00:00
|
|
|
FROM caddy:2.7.5-alpine@sha256:8ac16890d3992c98a1980cd87e3eeaa7fff9c3268cc611af0b1637d31c03736f
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|