Skip to content

Building on your machine

Terminal window
docker login h.gitt.one
docker build -t mysite .
docker run --rm -p 8080:80 mysite

Then open http://localhost:8080. Nothing else is installed locally — no Node, no package manager; the build runs inside the builder image. To try the password, add -e BASIC_AUTH_HTPASSWD=secret to docker run.

The image is an ordinary nginx image: the same docker run works on any Docker host, which is also how the site can be hosted outside our clusters.