My CV, as a single static HTML page served from a tiny container.
Everything lives in index.html: content, styling, no build step,
no JavaScript. The container is a busybox image running httpd, so the whole
thing is about 1.2 MB and starts instantly.
The fastest loop is to just open the file:
xdg-open index.htmlTo check it the way it is actually served:
docker build -t fabianschulz-ch .
docker run --rm -p 8000:8000 fabianschulz-ch
curl --fail localhost:8000The listening port can be changed with the PORT environment variable:
docker run --rm -e PORT=9000 -p 9000:9000 fabianschulz-ch.github/workflows/publish.yml builds and pushes the image to Docker Hub when a
GitHub release is published.
The container setup started as a fork of crccheck/docker-hello-world.