Re:Why does a new Rails app need 106 MB of JavaScript?
by jspash on Wednesday July 01, 2020 @04:55PM
(#23706560)
Just build locally and vendor the asset artefacts. That's how we did it in the "good old days". No containers in containers needed.
[ Parent
| on HN ]
Re:Why does a new Rails app need 106 MB of JavaScript?
by eropple on Wednesday July 01, 2020 @04:58PM
(#23706590)
To be clear, you don't do "containers in containers", you build a container and you copy your assets from the other one. You then have a shippable artifact with all your dependencies, including your runtime, vendored into it.
I'm not a k8s guy, but it's a lot nicer than a tarball.