summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..789b9db
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,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