Skip to content

Docker container for hosting websites generated by Hugo

License

Notifications You must be signed in to change notification settings

roundpartner/hugo-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published