A 'from scratch' container image with a compressed size of 64 KB which is able to serve a static website, powered by althttpd.
I really like the approach of althttpd to provide an small and simple application that has only one task, but does it in the simplest and best way.
That's why I had the idea to take this approach further and provide a container image that is based on scratch and do only serve static web files, nothing more.
Copy your files in the /www folder of the container.
Example Containerfile:
FROM rouhim/althttpd
COPY ./mywebsite /www
This is the simplest example of how to serve your static web files. The port is already exposed to 8080 and the entrypoint is configured as well.
Content type
Image
Digest
sha256:174eb6d21…
Size
75.7 kB
Last updated
over 2 years ago
docker pull rouhim/althttpd