Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove composer install from docker image #24

Open
jonoliver opened this issue Sep 7, 2023 · 0 comments
Open

Remove composer install from docker image #24

jonoliver opened this issue Sep 7, 2023 · 0 comments

Comments

@jonoliver
Copy link
Member

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 in docker-compose.yml. This will allow developers to install new dependencies locally by running composer require.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant