2024-07-23 04:00:40 +00:00
|
|
|
FROM caddy:2.8.4-builder-alpine@sha256:4ad9121d96b2aa96464af5bc9824dbee003901ae9314f2127f0ecf0f62ccfff7 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2024-07-23 04:00:34 +00:00
|
|
|
FROM caddy:2.8.4-alpine@sha256:a994e3abc186b932d77628238c78e6a0a5a1a8ad0ce4628c952fe9ab75638064
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|