0
0
docker-images/dockerfiles/caddy.Dockerfile

11 lines
283 B
Docker
Raw Permalink Normal View History

2024-06-04 04:01:24 +08:00
FROM caddy:2.8.4-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-06-04 04:01:24 +08:00
FROM caddy:2.8.4
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