Fixed #8884: Fixed alpine image build (#8885)

* Fixed #8884: update alpine image dependencies, fix permission error in vendor folder and laravel.log file

* Fixed #8884: Removes unnecessary changes to fix alpine image build

* Fixed #8884: Removes unnecessary changes to fix alpine image build

* Fixed #8884: Fix typo
This commit is contained in:
João Paulo 2020-12-14 22:42:43 -03:00 committed by GitHub
parent 45bfec5cd3
commit e410696a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -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 \

View file

@ -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