Part of Elody — the open semantic data platform.
Documentation · Website
General documentation site for the Elody semantic data platform, built with VitePress.
The Dockerfile uses BuildKit build secrets for the private npm registry, so
export your Nexus token first (BuildKit is the default in Docker 23+).
export NPM_CONFIG_REGISTRY=https://nexus.inuits.io/repository/npm/
export NPM_CONFIG__AUTH_TOKEN=<your-nexus-token>
docker build \
--secret id=NPM_CONFIG_REGISTRY,env=NPM_CONFIG_REGISTRY \
--secret id=NPM_CONFIG__AUTH_TOKEN,env=NPM_CONFIG__AUTH_TOKEN \
-t elody-docs .
docker run --rm -p 8080:80 elody-docsThe site is then served on http://localhost:8080.
To run the dev server in a container instead, with the source volume-mounted:
docker build --target development-stage -t elody-docs-dev .
docker run --rm -p 5173:5173 -v "$PWD:/app" \
-e NPM_CONFIG__AUTH_TOKEN=$NPM_CONFIG__AUTH_TOKEN \
elody-docs-dev