rasodu / DLEMP

0 stars 0 forks source link

Add support for multiple versions of PHP #21

Closed rasodu closed 8 years ago

rasodu commented 8 years ago

Change current dockerfile name:

Create new dockerfiles:

Create docker-compose-70php.overwrite.yml and docker-compose-php70.prod.yml

New command to run the project.

rasodu commented 8 years ago

Better solution is to use 'PHP_VERSION' variable in the .env file to load different version of dockerfile instead of using additional compose file.

rasodu commented 8 years ago

May not need to create separate docker file cmd service. This file may build as is with php5.6 and php7.0