I'm trying to to deploy my laravel app to AWS Elastic Beanstalk using git push. I can successfully deploy laravel app, but my problem is that I had some configuration in my composer.json
I created a config file in .ebextensions
commands:
01updateComposer:
command: export COMPOSER_HOME=/root && /usr/bin/composer.phar self-update
option_settings:
- namespace: aws:elasticbeanstalk:application:environment
option_name: COMPOSER_HOME
value: /root
How can I configure it to run my own composer.json which I had configured myself in the root of my laravel file.
The configuration above didn't run my composer.json
Thank you.