From f4dde3803de5a9e6093ff1b327a9e582096f807d Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 2 Feb 2026 15:53:57 -0600 Subject: Allow changing title and subtitle --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 0316d5d..8a17307 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,9 @@ FROM alpine WORKDIR /root COPY Caddyfile . COPY supervisord.conf . -COPY cgitrc /etc/ -RUN apk add --no-cache cgit git caddy fcgiwrap supervisor py3-markdown py3-pygments -ENTRYPOINT supervisord -c supervisord.conf +COPY entrypoint.sh . +COPY cgitrc.template /etc/ +RUN apk add --no-cache cgit git caddy fcgiwrap supervisor py3-markdown py3-pygments envsubst; \ + envsubst < /etc/cgitrc.template > /etc/cgitrc +CMD ["supervisord", "-c", "supervisord.conf"] +ENTRYPOINT ["./entrypoint.sh"] -- cgit v1.2.3