Comment on Best way to dockerize a static website?
possiblylinux127@lemmy.zip 8 months ago
If your looking for a small size you could build a custom image with buildroot and lighttpd. It is way, way overkill but it would be the smallest.
For something easier use the latest image of your web server of choice and then pass though a directory with the files. From there you can automate patching with watch tower.
okamiueru@lemmy.world 8 months ago
It’s such a fun exercise. But as you point out, way overkill. Might even be dangerous to expose it. I’ve gotten mine to 20kb on top of busybox.