diff --git a/Dockerfile.alpine b/Dockerfile.alpine index f00650daf6..6f89e518f0 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,4 +1,4 @@ -FROM alpine:3.8 +FROM alpine:3.12 # Apache + PHP RUN apk add --update --no-cache \ apache2 \ @@ -23,6 +23,8 @@ RUN apk add --update --no-cache \ php7-fileinfo \ php7-simplexml \ php7-session \ + php7-dom \ + php7-xmlwriter \ curl \ wget \ vim \ diff --git a/docker/entrypoint_alpine.sh b/docker/entrypoint_alpine.sh index 6ea96189d4..cd0929885a 100644 --- a/docker/entrypoint_alpine.sh +++ b/docker/entrypoint_alpine.sh @@ -49,5 +49,7 @@ php artisan migrate --force php artisan config:clear php artisan config:cache +chown -R apache:root /var/www/html/storage/logs/laravel.log + export APACHE_LOG_DIR=/var/log/apache2 exec httpd -DNO_DETACH < /dev/null