PGOEL
PGOEL

Reputation: 566

Creating a docker-compose.yaml file for php composer manager

Сan someone explain what exactly command: install means in below compose.yaml file:

composer:
    image:composer/composer
    volumes:
      - ./document_root:/var/www/html
    command: install

Upvotes: 0

Views: 188

Answers (1)

Dhaval Chaudhary
Dhaval Chaudhary

Reputation: 5815

Find Command doc here

as per doc it overrides the default command command: bundle exec thin -p 3000 and executes whatever command you give in that filed.

Upvotes: 3

Related Questions