RouHim / althttpd-docker

A very tiny althttpd container image from scratch

Repository from Github https://github.comRouHim/althttpd-dockerRepository from Github https://github.comRouHim/althttpd-docker

althttpd docker container

CI/CD Docker Hub pulls Docker Hub size os-arch

A 'from scratch' container image with a compressed size of 64 KB which is able to serve a static website, powered by althttpd.

Motivation

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.

Usage

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.

Resources

About

A very tiny althttpd container image from scratch


Languages

Language:Dockerfile 80.9%Language:HTML 19.1%