docker-alpine-php83-aio/config/frameworks/90-composer.sh

10 lines
206 B
Bash
Raw Normal View History

2024-02-05 23:20:42 +00:00
#!/bin/sh
if [ ! -f /application/composer.json ]; then
exit 1
fi
echo " == Detected composer project."
cd /application
/usr/bin/composer install --no-dev --no-cache --optimize-autoloader --no-progress