Sign inSign up

rouhim/althttpd

By rouhim

•Updated over 2 years ago

Image
0

2.1K

rouhim/althttpd repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:174eb6d21…

Size

75.7 kB

Last updated

over 2 years ago

docker pull rouhim/althttpd