diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 4da8b72..516b542 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -16,7 +16,7 @@ { "label": "Serve Documentation", "type": "shell", - "command": "docker run -v \"./.git:/app/.git\" -v \"./docs:/app/docs\" -v \"./.artifacts:/app/.artifacts\" --platform linux/amd64 -p 8080:8080 ghcr.io/elastic/docs-builder:edge serve", + "command": "docker run -v \"./.git:/app/.git\" -v \"./docs:/app/docs\" -v \"./.artifacts:/app/.artifacts\" --platform linux/amd64 -p 3000:3000 ghcr.io/elastic/docs-builder:edge serve", "problemMatcher": [], "group": { "kind": "build", @@ -34,4 +34,4 @@ } }, ] -} \ No newline at end of file +} diff --git a/README.md b/README.md index a9b40ae..2baae9d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Then you can use the builtin build command `CMD+SHIFT+B` to build this repositor * Incremental: does a full build initially after which it will only compile changed files on each subsequent invocation * Full: always does a full build. -* Serve: serves the documentation in 'live' mode at http://localhost:8080. +* Serve: serves the documentation in 'live' mode at http://localhost:3000. - All changes should be reflected on the live site without restarting. @@ -38,5 +38,5 @@ docker run -v "./.git:/app/.git" -v "./docs:/app/docs" -v "./.artifacts:/app/.ar ### Live mode ```bash -docker run -v "./.git:/app/.git" -v "./docs:/app/docs" -v "./.artifacts:/app/.artifacts" -p 8080:8080 ghcr.io/elastic/docs-builder:edge serve -``` \ No newline at end of file +docker run -v "./.git:/app/.git" -v "./docs:/app/docs" -v "./.artifacts:/app/.artifacts" -p 3000:3000 ghcr.io/elastic/docs-builder:edge serve +```