2023-03-30 07:01:57 +00:00
|
|
|
FROM caddy:2.6.4-builder-alpine@sha256:444e274fdf828eb74718f22e75efd53c156679019a0eb0ed34f8e1abe290f0d1 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-03-30 05:06:38 +00:00
|
|
|
FROM caddy:2.6.4-alpine@sha256:eefd3d61e9ee8f35e046f614982d9a970006e3943c6e5f09957a4048f4c80d35
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|