2023-08-09 05:02:10 +00:00
|
|
|
FROM caddy:2.7.2-builder-alpine@sha256:3a9542a80819a7111c8f94a5d7873d8ee37595d877e13fb0be708d3ffd532789 AS builder
|
2023-01-02 00:40:21 +09:00
|
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
2023-08-09 05:01:49 +00:00
|
|
|
FROM caddy:2.7.2-alpine@sha256:fa4988bd8dc2df962ba39a1621de3d0aad2c725fbdec99f3ae81f704e818943e
|
2023-01-02 00:40:21 +09:00
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|