conf: docker
This commit is contained in:
@@ -16,4 +16,9 @@ touch storage/logs/laravel.log storage/logs/query.log
|
||||
chmod 666 storage/logs/laravel.log storage/logs/query.log
|
||||
chmod -R 777 storage bootstrap/cache
|
||||
|
||||
# Tạo symlink cho storage nếu chưa có (để public file ảnh, upload,...)
|
||||
if [ ! -L "public/storage" ]; then
|
||||
php artisan storage:link
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user