2023-10-12 20:02:45 +00:00
|
|
|
FROM caddy:2.7.5-builder-alpine@sha256:4da6eb923a23cd71b68faebfc7beca6d8f3e1eec06b420fc4cc676513e5c2bd6 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-10-12 20:02:24 +00:00
|
|
|
FROM caddy:2.7.5-alpine@sha256:85e096a1c55daae9caa2f82aa20dd3a415180c63979f40c0693ee1b4a4e1f46a
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|