2023-06-06 22:02:41 +00:00
|
|
|
FROM caddy:2.6.4-builder-alpine@sha256:d0329c70f0d407145def5b254f7913e85864ff0ac32c307e279dd30f5b39bf4c AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-06-14 21:08:38 +00:00
|
|
|
FROM caddy:2.6.4-alpine@sha256:88e8ad3cbe14de92b1ae5298c89787d58817940cb0be26cffc3ad0e2f3ba9d95
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|