You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently our Dockerfile runs composer install, installing composer dependencies on the base image itself. This creates an awkward workflow when adding dependencies.
Solution
Instead of installing composer dependencies in the base image, mount a vendor volume in docker-compose.yml. This will allow developers to install new dependencies locally by running composer require.
The text was updated successfully, but these errors were encountered:
Problem
Currently our Dockerfile runs
composer install
, installing composer dependencies on the base image itself. This creates an awkward workflow when adding dependencies.Solution
Instead of installing composer dependencies in the base image, mount a
vendor
volume indocker-compose.yml
. This will allow developers to install new dependencies locally by runningcomposer require
.The text was updated successfully, but these errors were encountered: