2023-02-11 13:01:48 +00:00
|
|
|
FROM caddy:2.6.3-builder-alpine@sha256:230edf0b7456074568c21d3681c0b13e28461f22fd1a1dc2f5ac624c7285b586 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-02-11 08:01:50 +00:00
|
|
|
FROM caddy:2.6.3-alpine@sha256:ed81228ba91274f9af97ca5d41dafff1a9f1cfcedb6679377ea577c6540469b8
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|