2023-05-12 00:03:42 +00:00
|
|
|
FROM caddy:2.6.4-builder-alpine@sha256:6c6f74c0b96dda41269a52cc0fb8e0e5e84bbaf5e6ffb8b90e5139c87e4afab4 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-05-02 20:02:16 +00:00
|
|
|
FROM caddy:2.6.4-alpine@sha256:4dfec6c3b22c36b63ea4a3633c7cdbdaa9926d1324c27db2b0e2b70ef9cd105a
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|