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