Skip to content

Usage with docker #1593

@NicolasGuruphat

Description

@NicolasGuruphat

I am trying to use husky in a docker context but I face a problem. The npm install is done inside the docker environment, so the husky command is then triggered by the prepare script. But the issue is that git is not installed in my docker environment, so I get the error "git command not found" and the hooks are not installed.

How can I handle this case ?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions