0
0
docker-images/dockerfiles/caddy.Dockerfile

11 lines
297 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 \
--with github.com/RussellLuo/caddy-ext/ratelimit \
--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