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

12 lines
264 B
Bash
Raw Permalink Normal View History

2024-02-05 23:20:42 +00:00
#!/bin/sh
if [ ! -f /application/composer.json ]; then
exit 1
fi
2024-02-07 12:37:27 +00:00
echo " => Detected composer project."
2024-02-06 00:00:58 +00:00
echo " -> Installing dependencies using composer..."
/usr/bin/composer install --no-dev --no-cache --optimize-autoloader --no-progress -q || exit 0
exit 0