Comment on Best way to dockerize a static website?

<- View Parent
lemmyvore@feddit.nl ⁨8⁩ ⁨months⁩ ago

Absolutely, but it has a built-in webserver that can serve static files, too (I constantly use that in my dev environment).

How about Python? You can get an HTTP server going with just python3 -m http.server from the dir where the files are. Worth remembering because Python is super common and probably already installed in many places (be it on host or in containers).

source
Sort:hotnewtop