0
0
docker-images/dockerfiles/caddy.Dockerfile
Opnxng f582aa5eb1
All checks were successful
caddy / build (push) Successful in 5m48s
Switched Caddy ratelimit plugin
2024-02-21 23:06:47 +08:00

12 lines
339 B
Docker
Executable File

FROM caddy:2.7.6-builder-alpine AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/gi-yt/ratelimit \
#--with github.com/RussellLuo/caddy-ext/ratelimit \
--with github.com/porech/caddy-maxmind-geolocation
FROM caddy:2.7.6
COPY --from=builder /usr/bin/caddy /usr/bin/caddy