mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
Update entrypoint.sh
This commit is contained in:
parent
d95bd3bf4d
commit
1f64785719
@ -19,10 +19,8 @@ fi
|
|||||||
role=${CONTAINER_ROLE:-app}
|
role=${CONTAINER_ROLE:-app}
|
||||||
|
|
||||||
if [ "$role" = "app" ]; then
|
if [ "$role" = "app" ]; then
|
||||||
if [ "$INSTALLED" = "false" ]; then
|
|
||||||
echo ".env installed is false starting installing"
|
echo ".env installed is false starting installing"
|
||||||
php artisan install --ready
|
php artisan install --ready
|
||||||
fi
|
|
||||||
exec docker-php-entrypoint "$@"
|
exec docker-php-entrypoint "$@"
|
||||||
elif [ "$role" = "queue" ]; then
|
elif [ "$role" = "queue" ]; then
|
||||||
echo "Running the queue ... "
|
echo "Running the queue ... "
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user