symfony-base/.docker/launch.sh
2023-02-22 23:47:20 +01:00

8 lines
263 B
Bash

if [ ! -d /var/www/html/vendor ]; then
echo "[INFO] Vendor folder not present - installing dependencies"
cd /var/www/html
composer install
echo "[INFO] Dependencies installed"
else
echo "[INFO] Vendor folder already present, nothing to do."
fi