docker_images/caddy/Dockerfile

12 lines
298 B
Docker

FROM caddy:2-builder AS builder
MAINTAINER Yaltik - Fabien Bourgeois <fabien@yaltik.com>
RUN xcaddy build \
--with github.com/caddyserver/format-encoder \
--with github.com/caddy-dns/lego-deprecated
FROM caddy:2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
COPY common /caddycommon