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