mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 03:04:05 +00:00
Fix storage link on docker
This commit is contained in:
@@ -36,6 +36,11 @@ fi
|
||||
echo "**** Setting up artisan permissions ****"
|
||||
chmod +x artisan
|
||||
|
||||
if [ ! -L /var/www/html/public/storage ]; then
|
||||
echo "**** Creating storage symlink (public/storage) ****"
|
||||
./artisan storage:link --force -n || true
|
||||
fi
|
||||
|
||||
if ! grep -q "APP_KEY" /var/www/html/.env
|
||||
then
|
||||
echo "**** Creating empty APP_KEY variable ****"
|
||||
|
||||
Reference in New Issue
Block a user