Skip to content

Commit

Permalink
docs: change documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Ioan-Teodor Teugea <[email protected]>
  • Loading branch information
John-Ted committed Mar 2, 2024
1 parent f3a08bf commit ff120ec
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,26 @@ It's the <https://unikraft.org> website for the latest version of
### Building and testing locally

```console
yarn install
npm install

yarn run dev
npm run dev
```

### Using Docker

For development:

```console
docker build -t ghcr.io/unikraft/docs:dev --target dev .

docker run -it --rm -v $(pwd):/docs -w /docs -p 3000:3000 ghcr.io/unikraft/docs:dev
```

For production:

```console
docker build -t ghcr.io/unikraft/docs:base --target base .
docker build -t ghcr.io/unikraft/docs:runner --target runner .

docker run -it --rm -v $(pwd):/docs -w /docs -p 3000:3000 --entrypoint sh ghcr.io/unikraft/docs:base
docker run -it --rm -p 3000:3000 ghcr.io/unikraft/docs:runner

yarn run dev
```

0 comments on commit ff120ec

Please sign in to comment.