5 lines
389 B
Docker
5 lines
389 B
Docker
FROM caddy:2.8.4-builder-alpine@sha256:e17752ee435c363c7be26488602dfb693b256de2dbd5d21aad73b13e8f057604 AS builder
|
|
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
|
|
FROM caddy:2.8.4-alpine@sha256:5d4e02f275d12136a8e0a487e765ce459a00d49e23b543e9cd8190562ec5d27b
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
|
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]
|