Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Hugo NGinx

Docker container for hosting websites generated by Hugo

Usage

Create a Dockerfile and copy everything into the NGinx public directory.

FROM imacatlol/hugo-nginx

COPY public/ /usr/share/nginx/html

Build

Then build the docker image

docker build -t static-website .

Run

Run the docker container

docker run --rm --name static-website -p 80:80 static-website

About

Docker container for hosting websites generated by Hugo

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages