Skip to content

Remove composer install from docker image #24

@jonoliver

Description

@jonoliver

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions