Skip to content

honigpferd/baseimage-static-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baseimage-static-website

a very small docker image (~200KB) to run any static website, based on the thttpd static file server.

usage

reuse with Dockerfile

FROM ghcr.io/honigpferd/baseimage-static-website

COPY . /home/static/

exclude files via .dockerignore

build

docker build --rm -t mysite:1 .

run

docker run --rm -p 8080:80 mysite:1

open http://localhost:8080

About

a very small docker image to run any static website

Topics

Resources

License

Stars

Watchers

Forks