bug fix in docker file

This commit is contained in:
Hesabix 2025-06-13 13:29:04 +00:00
parent 36802cbfcf
commit 83baf8ffb4

View file

@ -26,14 +26,13 @@ services:
command: > command: >
bash -c " bash -c "
apt-get update && apt-get update &&
apt-get install -y curl unzip && apt-get install -y curl unzip php-mbstring php-gd php-soap &&
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer &&
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&
apt-get install -y nodejs && apt-get install -y nodejs &&
cd /var/www/html/hesabixCore && cd /var/www/html/hesabixCore &&
composer install && composer install &&
cd /var/www/html/webUI && cd /var/www/html/webUI &&
composer install &&
npm install && npm install &&
npm run build-only && npm run build-only &&
apache2-foreground apache2-foreground