diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8cbf902..bd31b09 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\" --expose 8080 ghcr.io/elastic/docs-builder:edge serve", + "command": "docker run -v \"./.git:/app/.git\" -v \"./docs:/app/docs\" -v \"./.artifacts:/app/.artifacts\" -p 8080:8080 ghcr.io/elastic/docs-builder:edge serve", "problemMatcher": [], "group": { "kind": "build", diff --git a/README.md b/README.md index 170f92a..a9b40ae 100644 --- a/README.md +++ b/README.md @@ -38,6 +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" \ - --expose 8080 ghcr.io/elastic/docs-builder:edge serve +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