2024-11-13 08:01:16 +00:00
|
|
|
FROM caddy:2.8.4-builder-alpine@sha256:e17752ee435c363c7be26488602dfb693b256de2dbd5d21aad73b13e8f057604 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2024-11-13 11:03:34 +00:00
|
|
|
FROM caddy:2.8.4-alpine@sha256:f74e612ae3211e928f25626baae1f851743a6c3521c25ff8b10b2f5b30b9b298
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|