mirror of
https://github.com/pi-hole/docs.git
synced 2026-02-15 07:26:03 +00:00
Add serve command and forward port 8000
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -21,5 +21,6 @@
|
||||
},
|
||||
"mounts": [
|
||||
"type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/node/.ssh,readonly"
|
||||
]
|
||||
],
|
||||
"forwardPorts": [8000]
|
||||
}
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
"build": "mkdocs build --clean",
|
||||
"markdownlint": "markdownlint-cli2 \"**/*.md\" \"!**/node_modules/**\"",
|
||||
"linkinator": "npm run build && linkinator site --recurse --silent --skip \"^(?!http://localhost)\"",
|
||||
"test": "npm run markdownlint && npm run linkinator"
|
||||
"test": "npm run markdownlint && npm run linkinator",
|
||||
"serve": "mkdocs serve --dev-addr 0.0.0.0:8000"
|
||||
},
|
||||
"devDependencies": {
|
||||
"linkinator": "^6.0.4",
|
||||
|
||||
Reference in New Issue
Block a user