docker_images/caddy/Dockerfile

11 lines
259 B
Docker

FROM caddy:2-builder AS builder
LABEL maintainer="Yaltik - Fabien Bourgeois <fabien@yaltik.com>"
RUN xcaddy build \
--with github.com/caddyserver/transform-encoder
FROM caddy:2
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
COPY common /caddycommon