2025-01-07 20:01:28 +00:00
|
|
|
FROM caddy:2.8.4-builder-alpine@sha256:1f95e0ce702a9f6f00d55d0fcc93446f659f4bb09e1a0000d25426058c01163b AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2025-01-07 20:01:19 +00:00
|
|
|
FROM caddy:2.8.4-alpine@sha256:af32e97399febea808609119bb21544d0265c58a02836576e32a2d082c262c17
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|