Serves a static site. Nothing else. If you want to serve your static site from a Container.
869
Repo: https://g.mp.gy/images/static-site
Minimal container image for serving static files. Uses busybox httpd on a
scratch base — no shell, no package manager, no attack surface.
Listens on port 4567.
Derive from this image and copy your files into /static.
FROM c8n.io/mpldr/static-site:latest
COPY --chown=static:static ./public /static
Then build and run:
docker build -t my-site .
docker run -p 4567:4567 my-site
Site available at http://localhost:4567.
static user.index.html at the root.Content type
Image
Digest
sha256:95149bd54…
Size
100.2 kB
Last updated
about 1 month ago
docker pull mpldr/static-site