Dockerizing an Application by Example
How to dockerize an application…
A hugo static website built into a docker image and then run as a container serving up the website using Nginx
Build the site by installing hugo, running npm install and running hugo to compile the static file
Then move the static files into the Nginx container
Then run the Nginx container! :)