diff options
| author | Christian <[email protected]> | 2026-02-02 15:53:57 -0600 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-02-02 15:53:57 -0600 |
| commit | f4dde3803de5a9e6093ff1b327a9e582096f807d (patch) | |
| tree | c4f6e9eac542d91ead0b9938a26f5342584061af /Dockerfile | |
| parent | 4f12e4ca91d5042b2290ef763a012544e43e0583 (diff) | |
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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"] |
