summaryrefslogtreecommitdiff
path: root/git-server/cgit/Dockerfile
blob: 9da8b23c2bd3364027972ffd8559b11a9947d829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM alpine:latest

RUN apk add --no-cache \
    cgit \
    git \
    nginx \
    fcgiwrap \
    spawn-fcgi \
    py3-pygments

COPY cgitrc /etc/cgitrc
COPY nginx.conf /etc/nginx/nginx.conf
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

EXPOSE 80

ENTRYPOINT ["/entrypoint.sh"]