Add proxy modules to apache container

This commit is contained in:
Ask Bjørn Hansen 2017-09-29 00:01:18 -07:00
parent 5a9640f9a2
commit 3bba7b4c1c
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ USER root
WORKDIR /web
VOLUME /git
VOLUME /web/config
RUN apk update; apk add apache2 apache2-utils
RUN apk update; apk add apache2 apache2-utils apache2-proxy
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

View File

@ -2,12 +2,12 @@
## Test locally
docker build -t quay.io/perl/static-web:v0.3 .
docker build -t quay.io/perl/static-web:v0.5 .
git clone git@git.develooper.com:perl-static-misc.git git
docker run -p 8000:80 --name static-misc \
-v `pwd`/git:/git/static -v `pwd`/config:/web/config \
-ti --rm quay.io/perl/static-web:v0.3
-ti --rm quay.io/perl/static-web:v0.5
Test with