#1 Two steps solution
export XDEBUG=true
docker-compose build
#2 One step solution AWS_INVOICE_SEND_CONFIGURATION_SET==xxxx yarn email:send
#3 export APPLICATION_ENV=${1:-"development"}
==> Assing to new GLOBAL variable first argument from passed arguments like:
./build.sh --development --with-workers
${1:
- If parameter is unset or null, the expansion of word is substituted by "development".