aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 10 insertions, 9 deletions
diff --git a/Dockerfile b/Dockerfile
index df191eb..90114b0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,17 +6,16 @@ RUN apt-get install -y python3 python-is-python3
6RUN apt-get install -y libzip-dev libssl-dev 6RUN apt-get install -y libzip-dev libssl-dev
7 7
8WORKDIR /cgit 8WORKDIR /cgit
9COPY cgit /cgit 9COPY cgit/ /cgit/
10COPY cgit.conf /cgit 10COPY cgit.conf /cgit/
11 11
12RUN make 12RUN make
13RUN make install 13RUN make install
14 14
15COPY cgitrc /app 15COPY cgitrc /app/
16COPY responsive/head.html /app/www/static 16COPY filters/ /app/filters/
17COPY responsive/cgit.css /app/www/static 17COPY include/ /app/include/
18COPY responsive/syntax-material.py /app/lib/filters 18COPY www/ /app/www/
19COPY responsive/md2html /app/lib/filters/html-converters/md2html
20 19
21FROM debian:latest AS cgit-run 20FROM debian:latest AS cgit-run
22 21
@@ -25,7 +24,9 @@ RUN apt-get install -y python3 python3-pygments python3-markdown python3-docutil
25RUN apt-get install -y lighttpd 24RUN apt-get install -y lighttpd
26 25
27WORKDIR /app 26WORKDIR /app
28COPY --from=cgit-build /app /app 27COPY --from=cgit-build /app/ /app/
29COPY lighttpd.conf /app/lighttpd.conf 28COPY lighttpd.conf /app/
29
30RUN mkdir /app/repos /app/about/
30 31
31CMD ["lighttpd", "-D", "-f", "/app/lighttpd.conf"] 32CMD ["lighttpd", "-D", "-f", "/app/lighttpd.conf"]