mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
* 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:
parent
45bfec5cd3
commit
e410696a36
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue