beta.fogtype.com/Dockerfile

6 lines
389 B
Text
Raw Normal View History

2023-08-03 22:01:53 +00:00
FROM caddy:2.7.2-builder-alpine@sha256:3d228a176e2ce488e82abd02643968ea55ce459f1f21253b0c6343e4e76764a4 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.2-alpine@sha256:c65706cb6f36cd8ac2cf2ed7683e0bf3bc865019df07972ee011ffd875383235
2023-01-02 00:40:21 +09:00
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]