2023-08-09 11:01:51 +00:00
|
|
|
FROM caddy:2.7.2-builder-alpine@sha256:ccdb6cbec2b57fd8abbea775fc86013e5e7fe0bd5d8dda4b92220a731e6fed13 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"]
|