fix: move storage:link to dockerfile

This commit is contained in:
hackerESQ
2025-01-30 19:16:33 -06:00
parent 1195faca0f
commit 00a1312ee3
2 changed files with 4 additions and 15 deletions
-9
View File
@@ -16,15 +16,6 @@ chown -R www-data:www-data storage
echo -e "\n > Storage directory scaffolding is OK... "
# Ensure storage symlink exists
if [[ ! -L "public/storage" ]]; then
echo -e "\n > Creating symbolic link for app public storage... "
php artisan storage:link
else
echo -e "\n > Storage linked... "
fi
# Ensure app key is generated
if [[ -z "$APP_KEY" ]]; then
echo -e "\n > Oops! The required APP_KEY configuration is missing in your environment! "