1.3.0 • Published 9 years ago

generate-static v1.3.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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

1.3.0

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago