Various improvements to Docker files.

This commit is contained in:
James Cole
2018-12-21 07:36:53 +01:00
parent 3c9c46d574
commit a8ff77addd
2 changed files with 11 additions and 6 deletions

View File

@@ -23,6 +23,15 @@ chmod -R 775 $FIREFLY_PATH/storage
chown -R www-data:www-data -R $FIREFLY_PATH/app
chmod -R 775 $FIREFLY_PATH/app
chown -R www-data:www-data -R $FIREFLY_PATH/framework
chmod -R 775 $FIREFLY_PATH/framework
chown -R www-data:www-data -R $FIREFLY_PATH/logs
chmod -R 775 $FIREFLY_PATH/logs
chown -R www-data:www-data -R $FIREFLY_PATH/upload
chmod -R 775 $FIREFLY_PATH/upload
# remove any lingering files that may break upgrades:
rm -f $FIREFLY_PATH/storage/logs/laravel.log
@@ -36,6 +45,5 @@ php artisan firefly:verify
php artisan passport:install
php artisan cache:clear
php artisan firefly:instructions install
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf --nodaemon