2024-05-30 23:34:08 +08:00
|
|
|
FROM caddy:2.8.1-builder-alpine AS builder
|
2023-11-04 06:38:42 +08:00
|
|
|
|
|
|
|
RUN xcaddy build \
|
|
|
|
--with github.com/caddy-dns/cloudflare \
|
|
|
|
--with github.com/porech/caddy-maxmind-geolocation
|
2024-05-30 23:34:08 +08:00
|
|
|
#--with github.com/gi-yt/ratelimit \
|
2023-11-04 06:38:42 +08:00
|
|
|
|
2024-05-30 23:34:08 +08:00
|
|
|
FROM caddy:2.8.1
|
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
|