We use the Node.js based GOV.UK prototype Kit to work with prototypes.
The GDS Way advises the use of LTS node versions.
The most recent Node.js LTS version is 20.11.0 released on 9 Jan 2024.
Decision Use Node.js 20.11.0
use nvm installed via homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install nvm
todo
# Dockerfile
#! /bin/bash
set -e
docker build . --tag govuk-one-login-docs
docker run -p 4567:4567 -p 35729:35729 -v $(pwd):/usr/src/docs -it govuk-one-login-docs