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

node_modules empty #1

Open
sselvaggi opened this issue Aug 24, 2022 · 0 comments
Open

node_modules empty #1

sselvaggi opened this issue Aug 24, 2022 · 0 comments

Comments

@sselvaggi
Copy link

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

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