An open API service indexing awesome lists of open source software.

https://github.com/roundpartner/hugo-nginx

Docker container for hosting websites generated by Hugo
https://github.com/roundpartner/hugo-nginx

Last synced: 3 months ago
JSON representation

Docker container for hosting websites generated by Hugo

Awesome Lists containing this project

README

          

# Hugo NGinx
Docker container for hosting websites generated by Hugo
## Usage
Create a ```Dockerfile``` and copy everything into the NGinx public directory.
```dockerfile
FROM imacatlol/hugo-nginx

COPY public/ /usr/share/nginx/html
```
### Build
Then build the docker image
```bash
docker build -t static-website .
```
### Run
Run the docker container
```bash
docker run --rm --name static-website -p 80:80 static-website
```