beta.fogtype.com/Dockerfile

6 lines
389 B
Text
Raw Normal View History

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