perlweb/static-misc: Another container to run non-pm.org static perl stuff

This commit is contained in:
2017-09-23 01:44:27 -07:00
commit 7991b9e866
4 changed files with 96 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM quay.io/ntppool/base-os:v2.3
USER root
WORKDIR /web
VOLUME /git
VOLUME /web/config
RUN apk update; apk add apache2
RUN mkdir /run/apache2; chown apache /run/apache2
RUN ln -s /dev/stderr /var/log/apache2/error.log
RUN ln -s /dev/stdout /var/log/apache2/access.log
RUN echo "IncludeOptional /web/config/*.conf" >> /etc/apache2/httpd.conf
ADD run-httpd /run.sh
CMD /run.sh