docker-node-postgres-template
docker-node-postgres-template copied to clipboard
node_modules empty
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