chore: 修复docker环境该用非root运行时全挂载和sqlite部署报错并减少layers

This commit is contained in:
xboard
2024-04-12 16:37:21 +08:00
parent 03706c054d
commit 7eb8d76c87
5 changed files with 13 additions and 12 deletions

View File

@@ -17,6 +17,6 @@ wget https://github.com/composer/composer/releases/latest/download/composer.phar
php composer.phar update -vvv
php artisan xboard:update
if [ -f "/etc/init.d/bt" ]; then
chown -R www $(pwd);
if [ -f "/etc/init.d/bt" ] || [ "$docker" ]; then
chown -R www:www $(pwd);
fi