Sign inSign up

zc1050/docker-static-website

By zc1050

•Updated 6 months ago

A very small Docker image to run any static website.

Image
Web servers
0

1.1K

zc1050/docker-static-website repository overview

⁠docker-static-website

A very small Docker image to run any static website, based on the BusyBox httpd⁠⁠ static file server.

⁠For more details, check out https://github.com/lipanski/docker-static-website⁠⁠

⁠Usage

FROM zc1050/docker-static-website:latest

# Copy your static files
COPY . .

⁠Build the image:

docker build -t my-static-website .

⁠Run the image:

docker run -it --rm -p 3000:80 my-static-website

Browse to http://localhost:3000.

Tag summary

Content type

Image

Digest

sha256:3fbe8a96c…

Size

53.5 kB

Last updated

6 months ago

docker pull zc1050/docker-static-website