Update dev container config to support live code sync and improve docker setup guide (#6018)

Signed-off-by: Lifu Huang <lifu.hlf@gmail.com>
This commit is contained in:
Lifu Huang
2025-05-04 22:33:46 -07:00
committed by GitHub
parent 3008db9c1a
commit 1232f7e8b7
2 changed files with 71 additions and 9 deletions

View File

@@ -20,5 +20,11 @@
"runArgs": [
"--gpus",
"all"
]
],
// The two lines below ensures that your local changes in the sglang
// repo is automatically synced to the sglang pip package installed
// in the dev docker container. You can remove / comment out these
// two lines if you prefer to sync code changes manually.
"workspaceMount": "source=${localWorkspaceFolder},target=/sgl-workspace/sglang,type=bind",
"workspaceFolder": "/sgl-workspace/sglang"
}