Fix: create bootstrap/cache and storage dirs before composer/artisan

This commit is contained in:
root
2026-04-05 20:04:17 +02:00
parent 4f197a5ecb
commit 3abde23629

View File

@@ -5,6 +5,13 @@ echo "========================================="
echo " TerManager2 - Entrypoint"
echo "========================================="
# -----------------------------------------------
# 0. Create required directories
# -----------------------------------------------
mkdir -p storage/framework/{cache,sessions,views}
mkdir -p storage/logs
mkdir -p bootstrap/cache
# -----------------------------------------------
# 1. Composer install
# -----------------------------------------------
@@ -96,13 +103,6 @@ else
echo "[✓] Storage symlink already exists."
fi
# -----------------------------------------------
# 6. Create required storage directories
# -----------------------------------------------
mkdir -p storage/framework/{cache,sessions,views}
mkdir -p storage/logs
mkdir -p bootstrap/cache
# -----------------------------------------------
# 7. Run migrations
# -----------------------------------------------