You can add custom commands in Dockerfile.*
Modify the etc/php/development.ini
or etc/php/production.ini
, it will be added on top of the default php.ini so
you can overwrite any directives.
After modification rebuild your app
container:
docker-compose stop
docker-compose build app
docker-compose up -d
You can even use the
make rebuild
task in the project root, which does the same job in a more better way.