]> Untitled Git - gitweb.git/blob - cgi/Dockerfile
Initial version of gitweb
[gitweb.git] / cgi / Dockerfile
1 FROM nginx:1.27-alpine
2
3 RUN apk add --no-cache git git-gitweb fcgiwrap perl-cgi
4
5 RUN mkdir -p /srv/git
6 RUN git config --global --add safe.directory "/srv/git/*"
7
8 EXPOSE 9000
9 CMD ["-s", "tcp:0.0.0.0:9000", "-f"]
10 ENTRYPOINT ["fcgiwrap"]