summaryrefslogtreecommitdiff
path: root/docker/cgit/Dockerfile
blob: 187cf10a7f4e2ef5b9a7931aaea72e35ac3757e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM httpd


EXPOSE 80
EXPOSE 443


ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update

RUN apt-get install -y \
  cgit \
  python3

RUN : \
  && a2enmod cgi


COPY docker-init.py /
COPY docker-entrypoint.sh /

ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["init"]