The module is implemented as a struct NextjsBuild with a method Build that takes a source directory (source) as input, representing the root of the Next.js project.
The resulting container is configured for serving the static site, with Nginx acting as the web server.