summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2024-07-14 15:12:00 -0500
committerMark Powers <mark@marks.kitchen>2024-07-14 15:12:00 -0500
commit8f7a23aaf2fe74bcfa583fa77f1f6924b2c42200 (patch)
tree6b73a67ae7ac557830554c0c1b6ffa1d48000e09 /Dockerfile
Initial commitmain
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