2023-01-10 01:06:51 +00:00
|
|
|
FROM caddy:2.6.2-builder-alpine@sha256:13944ecd3a4d0ff31021b9ae1bb835c02be20a033fd1b4e2d5983b2d5a161a17 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-01-01 16:01:38 +00:00
|
|
|
FROM caddy:2.6.2-alpine@sha256:25a0097607868fb05a89a5ab9fea2f2ea4cecdc89d887d7dcee8c778a21b9e1f
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|