Skip to content

Repository files navigation

Elody

Part of Elody — the open semantic data platform.
Documentation · Website

Elody Docs

General documentation site for the Elody semantic data platform, built with VitePress.

Docker

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-docs

The 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

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages