Skip to content

blackbeardapp/docker-static-website-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-static-website-generator

npm install generate-static -g

Quickly generate a docker image that contains a static website.

It is good for generating an image for testing a registry or a service.

Example:

generate-static kevinsimper/imagename "<h1>Hello Github!</h1>"

It is using a simple nginx server.

What it does

Here is the psuedo code:

  • docker pull nginx
  • docker run nginx
  • docker exec
  • docker commit

Usage

generate-static imagename [html]

imagename: the resulting docker image's name

html (optional): the html that will be put into index.html

About

Generate a quick docker image that contains a static website

Resources

License

Stars

Watchers

Forks

Packages

No packages published