Review generated Node workspace

from Dev Containers
Dev Container CLI 0.89.0 / Node 24 advanced 6 min 5 issues to find

Review this generated Dev Container configuration before the team adopts it.

Create a reproducible, least-privilege Node 24 workspace that starts a development server on port 3000.

jsonc
{
  "name": "generated-node-workspace",
  "image": "node:latest",
  "remoteUser": "vscode",
  "privileged": true,
  "forwardPorts": [3000, 3000],
  "postCreateCommand": "npm install || true",
  "postStartCommand": "npm install && npm run dev",
  "portsAttributes": {
    "3000": {
      "label": "Web application",
      "onAutoForward": "notify"
    }
  },
  "customizations": {
    "vscode": {
      "extensions": ["dbaeumer.vscode-eslint"]
    }
  }
}

generated code is illustrative, not from any one model

Open in playground
Report an error