3 ms·
> A docker image for a node project should just be "install node && npm build" That defeats the purpose of having separate dev and runtime dependencies and res
by rootlocus 6y ago
> A docker image for a node project should just be "install node && npm build"
That defeats the purpose of having separate dev and runtime dependencies and results in a huge docker image filled with dev-time dependencies.
Also, other package managers do this fairly well. Java has maven and uber-jars (for self contained artifacts), python has pip and venv, etc.