anime-media-centre/Caddy/Dockerfile

12 lines
264 B
Docker
Raw Normal View History

2022-12-08 21:44:08 +01:00
ARG CADDY_VERSION=2.6.2
FROM caddy:${CADDY_VERSION}-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/greenpau/caddy-security
FROM caddy:${CADDY_VERSION}-alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy