10 lines
296 B
Docker
Executable File
10 lines
296 B
Docker
Executable File
FROM caddy:2.7.5-builder-alpine AS builder
|
|
|
|
RUN xcaddy build \
|
|
--with github.com/caddy-dns/cloudflare \
|
|
--with github.com/RussellLuo/caddy-ext/ratelimit \
|
|
--with github.com/porech/caddy-maxmind-geolocation
|
|
|
|
FROM caddy:2.7.5
|
|
|
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy |