Answer the question
In order to leave comments, you need to log in
How to run composer install with docker-compose up --build not as root?
Hi all. Faced a similar issue . Dug up this option:
composer:
restart: 'no'
image: composer:latest
command: install -d /var/www/symfony
depends_on:
- php
- db
volumes:
- ${SYMFONY_APP_PATH}:/var/www/symfony
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question