0
0
docker-images/dockerfiles/caddy.Dockerfile
2024-05-31 08:28:29 +08:00

11 lines
283 B
Docker
Executable File

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