0
0
docker-images/dockerfiles/caddy.Dockerfile

12 lines
339 B
Docker
Raw Normal View History

2023-12-13 02:29:46 +08:00
FROM caddy:2.7.6-builder-alpine AS builder
2023-11-04 06:38:42 +08:00
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
2024-02-21 23:06:47 +08:00
--with github.com/gi-yt/ratelimit \
#--with github.com/RussellLuo/caddy-ext/ratelimit \
2023-11-04 06:38:42 +08:00
--with github.com/porech/caddy-maxmind-geolocation
2023-12-13 02:29:46 +08:00
FROM caddy:2.7.6
2023-11-04 06:38:42 +08:00
2023-12-13 02:29:46 +08:00
COPY --from=builder /usr/bin/caddy /usr/bin/caddy