add two more

This commit is contained in:
mcoder 2026-07-03 21:22:18 +03:30
parent ca4b3fd4be
commit 6a785f5ab2
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,5 @@
FROM php:8.2-fpm-bookworm
# متغیرهای ریجستری (اضافه شدن NPM)
ARG COMPOSER_REGISTRY="https://mirror-composer.runflare.com"
ARG LINUX_REGISTRY="http://mirror.arvancloud.ir/debian"
ARG SECURITY_REGISTRY="http://mirror.arvancloud.ir/debian-security"
# تغییر سورس‌های apt

View File

@ -7,6 +7,7 @@ echo "[+] Starting Initialization Process..."
# ۱. نصب وابستگی‌های PHP با نادیده گرفتن پکیج‌های Dev
echo "[+] Installing PHP dependencies via Composer..."
composer clear-cache
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
if [ ! -d vendor ]; then
echo "[!] vendor not found, stopping"