diff options
Diffstat (limited to 'docker/cgit/Dockerfile')
-rw-r--r-- | docker/cgit/Dockerfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/docker/cgit/Dockerfile b/docker/cgit/Dockerfile new file mode 100644 index 0000000..187cf10 --- /dev/null +++ b/docker/cgit/Dockerfile @@ -0,0 +1,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"] |