beta.fogtype.com/Dockerfile

6 lines
389 B
Text
Raw Normal View History

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