添加forwardPorts端口并完善工作流
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user