FROM alpine:3.21 WORKDIR /root COPY Caddyfile . COPY supervisord.conf . COPY entrypoint.sh . COPY cgitrc.template /etc/ RUN apk add --no-cache cgit git caddy fcgiwrap supervisor py3-markdown py3-pygments envsubst CMD ["supervisord", "-c", "supervisord.conf"] ENTRYPOINT ["./entrypoint.sh"]