Serving HTML from a Docker container: Nginx vs pure Alpine
If you were asked to package HTML (and other static assets) in a Docker container, how would you achieve it? Sure, you can spin up a Node.js or Python application and create a web server that serves the required assets, but that would be a roundabout method of solving a simple problem. Of course, Nginx is a viable option, but which will you choose? $ docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE nginx latest 53a18edff809 7 weeks ago 192MB nginx stable-alpine-slim 95ebc828d689 7 weeks ago 11.8MB ...