2023-12-01 11:02:08 +00:00
|
|
|
FROM caddy:2.7.5-builder-alpine@sha256:b946650052333e709346729a2c1611c7831112316e5736c3823c8028ff19434c AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-12-01 09:02:15 +00:00
|
|
|
FROM caddy:2.7.5-alpine@sha256:9821d1ef822957bf0ac22f9c6e26ad6a3198604f29b3b79194acba7ccaff4532
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|