Skip to content

node_modules empty #1

@sselvaggi

Description

@sselvaggi

Hello, when I run the template it works but the dependencies are not persisted on node_modules folder/volume.
I guess It's not a problem for execution because the build doesn't repeat this step, but I'd be nice to share the dependencies in case some command are being used from outside of the container for example prettier or husky
According to docker documentation we can't use volumes at building time (Dockerfile)
I think the node_modules folder is created at npm install and the volume is added later but empty
Are there any reason for making node_modules as volume anyway?
Do you think are there any way to improve it?
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