beta.fogtype.com/Dockerfile

6 lines
389 B
Text
Raw Normal View History

FROM caddy:2.7.6-builder-alpine@sha256:cfdc8d602f19ec8d91032443eccf231951351b8be9af05238eba7f3f932b4c4f AS builder
2023-01-02 00:40:21 +09:00
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
FROM caddy:2.7.6-alpine@sha256:1d90f85249439ec8c0774aa417fb23d13d7b8d9e38df29517838ae56d4034627
2023-01-02 00:40:21 +09:00
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]