add two more
This commit is contained in:
parent
ca4b3fd4be
commit
6a785f5ab2
|
|
@ -1,7 +1,5 @@
|
||||||
FROM php:8.2-fpm-bookworm
|
FROM php:8.2-fpm-bookworm
|
||||||
|
|
||||||
# متغیرهای ریجستری (اضافه شدن NPM)
|
|
||||||
ARG COMPOSER_REGISTRY="https://mirror-composer.runflare.com"
|
|
||||||
ARG LINUX_REGISTRY="http://mirror.arvancloud.ir/debian"
|
ARG LINUX_REGISTRY="http://mirror.arvancloud.ir/debian"
|
||||||
ARG SECURITY_REGISTRY="http://mirror.arvancloud.ir/debian-security"
|
ARG SECURITY_REGISTRY="http://mirror.arvancloud.ir/debian-security"
|
||||||
# تغییر سورسهای apt
|
# تغییر سورسهای apt
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ echo "[+] Starting Initialization Process..."
|
||||||
|
|
||||||
# ۱. نصب وابستگیهای PHP با نادیده گرفتن پکیجهای Dev
|
# ۱. نصب وابستگیهای PHP با نادیده گرفتن پکیجهای Dev
|
||||||
echo "[+] Installing PHP dependencies via Composer..."
|
echo "[+] Installing PHP dependencies via Composer..."
|
||||||
|
composer clear-cache
|
||||||
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
|
composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev
|
||||||
if [ ! -d vendor ]; then
|
if [ ! -d vendor ]; then
|
||||||
echo "[!] vendor not found, stopping"
|
echo "[!] vendor not found, stopping"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user