Docker image extending php-apache with composer, node.js and yarn. Symfony stack starter.
Dockerfile
linklatest
php7.3-apache
(master/Dockerfile))php5.6-apache
(php5.6-apache/Dockerfile))php7.1-apache
(php7.1-apache/Dockerfile))Contains:
Build args:
NODE_VERSION
(default to 10.13.0
)YARN_VERSION
(default to 1.16.0
)PHP_INI
path to user-defined INI file (see default user-defined php.ini)Example:
To update Node.js to version 8.6.0:
docker build /path/to/Dockerfile/directory --build-arg NODE_VERSION=8.6.0 -t myapp
To replace the user-defined INI file:
docker build /path/to/Dockerfile/directory --build-arg PHP_INI=php.ini -t myapp
Docker compose