From 19ce1e99bda32bf251e7f540f2c92ee5747e622b Mon Sep 17 00:00:00 2001 From: cristian-vijelie Date: Fri, 6 Oct 2023 11:36:51 +0300 Subject: [PATCH] Update running instructions Signed-off-by: cristian-vijelie --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1cd65295..6335a9f6 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,23 @@ ## This is the Unikraft Documentation website -It's the https://unikraft.org website for the latest version of +It's the website for the latest version of [Unikraft](https://github.com/unikraft/unikraft) and [KraftKit](https://kraftkit.sh). ### Building and testing locally -``` +```console yarn install yarn run dev ``` +### Using Docker + +```console +docker build -t ghcr.io/unikraft/docs:base --target base . + +docker run -it --rm -v $(pwd):/docs -w /docs -p 3000:3000 --entrypoint sh ghcr.io/unikraft/docs:base + +yarn run dev +```