beta.fogtype.com/Dockerfile

6 lines
389 B
Text
Raw Normal View History

FROM caddy:2.7.6-builder-alpine@sha256:66d3f2d6a830bfe0c09be564238554563b916bc08561ae646a8c4fac40c8f1d2 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"]