summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 789b9db96103a62b1bf78331f89515faa274b15e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM ubuntu/apache2

RUN apt update
RUN apt install -y cgit python3-markdown

RUN a2enmod rewrite
RUN a2enmod cgi

COPY apache2.conf /etc/apache2/apache2.conf
COPY cgit.conf /etc/cgitrc

RUN rm /var/www/html/index.html