2024-06-21 13:01:35 +00:00
|
|
|
FROM caddy:2.8.4-builder-alpine@sha256:382f17ed2637ec63f46105efb2c6b8a3226802a1cca7b32ef2526c844768017b AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2024-06-21 10:00:33 +00:00
|
|
|
FROM caddy:2.8.4-alpine@sha256:4215a674b064e34507e5b58395ec2e0775070a997e7e0e0663bd3933b6f37b5b
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|