Add proxy modules to apache container
This commit is contained in:
parent
5a9640f9a2
commit
3bba7b4c1c
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user