custom-dockerfile/caddy/Dockerfile

20 lines
509 B
Docker
Raw Normal View History

2024-11-04 20:48:13 -05:00
FROM caddy:builder AS builder
RUN xcaddy build \
--with github.com/caddyserver/nginx-adapter \
--with github.com/caddy-dns/cloudflare \
--with github.com/caddyserver/replace-response \
--with github.com/mholt/caddy-webdav \
--with github.com/mholt/caddy-ratelimit \
--with github.com/WeidiDeng/caddy-cloudflare-ip \
--with github.com/porech/caddy-maxmind-geolocation \
2024-11-04 21:08:17 -05:00
--with github.com/mholt/caddy-l4
2024-11-04 20:48:13 -05:00
FROM caddy:latest
COPY --from=builder /usr/bin/caddy /usr/bin/caddy