Answer the question
In order to leave comments, you need to log in
How to expand the node_modules folder in docker at the build stage?
In short, the task is this:
In docker, dependencies are usually installed in the node_modules folder, and this folder is inside the container.
I need this folder to be not only inside the container, but also on the host, because all the necessary things like tslint, typescript are installed in it, which are used in the PhpStorm development environment to check the code.
Just copying it after installation is stupid and ugly, because there will be just two copies of the same folders.
And now the most important question: How to do it beautifully?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question