FROM caddy:2.6-builder-alpine AS builder

RUN xcaddy build \
    --with gitea.ocram85.com/ocram85/caddy-gitea@v0.0.6

FROM caddy:2.6.2

COPY --from=builder /usr/bin/caddy /usr/bin/caddy