Saturday, February 23, 2019

Maxime Rouiller’s article about building a multi-stage Dockerfile for SPA and static sites kind of opened up my mind a little bit. I’m pretty comfortable with containers at this point, but the simplicity of the idea is so damn elegant.

Take an NGINX base layer, and put the static content in on top of that, and done. You now have an instant packaged website in an efficient deployment mechanism that can be executed anywhere you can run a container.

Nifty.