Safety check for running composer install, README
This commit is contained in:
parent
cd7cf577f3
commit
591cff12c1
@ -1,3 +1,7 @@
|
|||||||
|
# wordpress-bedrock-docker
|
||||||
|
|
||||||
|
## Quick start
|
||||||
|
|
||||||
1. Clone this repository
|
1. Clone this repository
|
||||||
2. Copy `src/.env.example` to `src/.env`
|
2. Copy `src/.env.example` to `src/.env`
|
||||||
3. Run `docker-compose up`
|
3. Run `docker-compose up`
|
||||||
|
@ -94,7 +94,9 @@ if [[ "$1" == apache2* ]] || [ "$1" = 'php-fpm' ]; then
|
|||||||
# fi
|
# fi
|
||||||
# done
|
# done
|
||||||
# fi
|
# fi
|
||||||
|
if [ -f composer.json ]; then
|
||||||
composer install
|
composer install
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Reference in New Issue
Block a user