Copy the .env file
cp .env.example .env
Build docker image
docker-compose build
Run docker image
docker-compose up
Run the following command to install the package through Composer:
docker-compose exec composer installStop docker
docker-compose stop