beta.fogtype.com/Dockerfile

6 lines
389 B
Text
Raw Normal View History

FROM caddy:2.7.2-builder-alpine@sha256:123741664d2964111693bc7a73a51a9ab7871cc6b6966d0f716e08c6ab8397aa 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:f6e2206a5dfd9b44a8c144fe8b6e6cb406bee117c15aae6f573b3bf83a3594af
2023-01-02 00:40:21 +09:00
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]