feat(docker): update Docker configuration for Arvan Cloud registry and add API documentation generation

This commit is contained in:
2026-06-05 19:18:31 +03:30
parent 6eae917540
commit 0b99ab2119
7 changed files with 5785 additions and 9 deletions

View File

@@ -7,6 +7,7 @@ mkdir -p \
storage/framework/sessions \
storage/framework/views \
storage/logs \
storage/api-docs \
bootstrap/cache
if [ ! -L public/storage ]; then
@@ -25,6 +26,10 @@ if [ -z "${APP_KEY:-}" ]; then
fi
if [ "${APP_ENV:-production}" = "production" ]; then
if php artisan list --raw 2>/dev/null | grep -q '^l5-swagger:generate'; then
php artisan l5-swagger:generate --no-interaction
fi
php artisan config:cache --no-interaction
php artisan event:cache --no-interaction
php artisan view:cache --no-interaction