Skip to content

Commit 42cc222

Browse files
bmorelli25Mpdreamz
andauthored
Update Serve command (#116)
Co-authored-by: Martijn Laarman <[email protected]>
1 parent 9ad983a commit 42cc222

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Through the `serve` command you can continuously and partially compile your docu
6363

6464
```bash
6565
docker run -v "./.git:/app/.git" -v "./docs:/app/docs" -v "./.artifacts:/app/.artifacts" \
66-
--expose 8080 ghcr.io/elastic/docs-builder:edge serve
66+
-p 8080:8080 ghcr.io/elastic/docs-builder:edge serve
6767
```
6868

6969
Each page is compiled on demand as you browse http://localhost:8080 and is never cached so changes to files and
@@ -148,4 +148,4 @@ The resulting binary `./.artifacts/publish/docs-builder` will run on machines wi
148148
To test performance it's best to build the binary and run outside of docker:
149149

150150
For refence here's the `markitpy-doc` docset (50k markdown files) currently takes `14s` vs `several minutes` compared to
151-
existing surveyed tools
151+
existing surveyed tools

0 commit comments

Comments
 (0)