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

10 lines
206 B
Bash

#!/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