build(devcontainer): use dynamic workspace folder name
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 1m33s
CI/CD Pipeline / build-and-deploy (push) Successful in 1m39s

This commit is contained in:
严浩
2025-11-10 12:53:33 +08:00
parent 3033a8a707
commit f757b70174
2 changed files with 3 additions and 2 deletions

View File

@@ -128,6 +128,6 @@
"postAttachCommand": /* */ "echo '开发环境已就绪!${containerWorkspaceFolder}'",
// "updateRemoteUserUID": true,
"waitFor": "updateContentCommand",
"workspaceMount": "source=${localWorkspaceFolder},target=/wrkspc,type=bind,consistency=delegated",
"workspaceFolder": "/wrkspc"
"workspaceMount": "source=${localWorkspaceFolder},target=/${localWorkspaceFolderBasename},type=bind,consistency=delegated",
"workspaceFolder": "/${localWorkspaceFolderBasename}"
}