2023-08-14 18:02:03 +00:00
|
|
|
FROM caddy:2.7.3-builder-alpine@sha256:60afa28fcdce12aa9708e9b83d2478d054ba04c0a3801c3312f54e4ed4b2ccfa AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-08-14 19:01:52 +00:00
|
|
|
FROM caddy:2.7.3-alpine@sha256:60de297131e676c0d87d7aacaa4fbd5a883abb5818977670f7024b89ebe1d7bb
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|