Update Dockerfile

This commit is contained in:
Olivier DEBAUCHE 2021-06-16 11:27:36 +02:00 committed by GitHub
parent 70fb2d4b52
commit 8624b88d34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,9 +159,8 @@ COPY apache.conf /etc/apache2/sites-available/000-default.conf
COPY leaflet-demo.html /var/www/html/index.html COPY leaflet-demo.html /var/www/html/index.html
RUN ln -sf /dev/stdout /var/log/apache2/access.log \ RUN ln -sf /dev/stdout /var/log/apache2/access.log \
&& ln -sf /dev/stderr /var/log/apache2/error.log \ && ln -sf /dev/stderr /var/log/apache2/error.log \
&& cd /etc/apache2 \ && sed -i -e 's/80/8080/g' /etc/apache2/ports.conf \
&& sed -i -e 's/80/8080/g' ports.conf \ && sed -i -e 's/80/8080/g' /etc/apache2/sites-available/* \
&& sed -i -e 's/80/8080/g' sites-available/* \
# Configure Varnish # Configure Varnish
RUN systemctl start varnish \ RUN systemctl start varnish \