添加forwardPorts端口并完善工作流

This commit is contained in:
2025-12-09 15:54:56 +08:00
parent 2b129e67c6
commit 26d5ff6a2d
9 changed files with 291 additions and 15 deletions

View File

@@ -1,10 +1,12 @@
{
"name": "PHP",
"image": "mcr.microsoft.com/devcontainers/php:1-8.3",
"forwardPorts": ["8000","9000"],
"containerEnv": {
"NODE_ENV": "development"
},
"forwardPorts": [
8000
],
"containerEnv": {
"NODE_ENV": "development"
},
"customizations": {
"vscode": {
"settings": {},
@@ -19,6 +21,5 @@
"onAutoForward": "notify"
}
},
"postAttachCommand": "php -S 0.0.0.0:8000"
}
}