~dricottone/docker-cgit

docker-cgit/Dockerfile -rw-r--r-- 414 bytes
a2ae0e09Dominic Ricottone Modification of language; add phony make target 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# CGit Dockerfile
# Dominic Ricottone
# BSD 3-Clause

ARG ALPINE_VERSION=latest

FROM alpine:${ALPINE_VERSION}

WORKDIR /app

COPY cgitrc /etc/cgitrc
COPY cgit.d /etc/cgit.d
COPY app /app

RUN apk add --update spawn-fcgi fcgiwrap cgit git python3 py3-setuptools py3-pygments py3-markdown dumb-init

EXPOSE 9000

ENTRYPOINT ["/usr/bin/dumb-init", "--"]

CMD ["spawn-fcgi", "-p", "9000", "-n", "/usr/bin/fcgiwrap"]