docker-alpine-php83-aio/config/frameworks/90-composer.sh
Christopher Vagnetoft ec4dc0727a
Some checks failed
dockerbuild / Build docker image (push) Failing after 1m33s
Improved framework logic
2024-02-06 01:31:34 +01:00

12 lines
265 B
Bash

#!/bin/sh
if [ ! -f /application/composer.json ]; then
exit 1
fi
echo " == Detected composer project."
echo " -> Installing dependencies using composer..."
/usr/bin/composer install --no-dev --no-cache --optimize-autoloader --no-progress -q || exit 0
exit 0