aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 8a173070605aa38f97a38f5664e7eaf18e51f12a (plain)
1
2
3
4
5
6
7
8
9
10
FROM alpine
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; \
    envsubst < /etc/cgitrc.template > /etc/cgitrc
CMD ["supervisord", "-c", "supervisord.conf"]
ENTRYPOINT ["./entrypoint.sh"]