by nodesocket · 4y ago · 0 comments
Probably not the best searchfoo, but confirmed...
https://github.com/search?q=%22CMD+%5B%22npm%22%2C+%22run%22...
With Linux's CoW semantics, wouldn't the child share pages with the parent?
CMD ["/usr/local/bin/node", "server.js"]
To be fair, it was a straight up conversion of an old VM in vagrant and Docker was looked at as a one to one replacement before learning otherwise.
They even have an explicit, “run in container” mode.