Add Copilot CLI feature to devcontainer (#58813)
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
// Install features. Type 'feature' in the VS Code command palette for a full list.
|
||||
"features": {
|
||||
"sshd": "latest",
|
||||
"ghcr.io/devcontainers/features/copilot-cli:1": {
|
||||
"version": "prerelease"
|
||||
},
|
||||
"ghcr.io/devcontainers/features/github-cli:1": {}
|
||||
},
|
||||
|
||||
@@ -59,8 +62,6 @@
|
||||
},
|
||||
|
||||
// Lifecycle commands
|
||||
// Install dependencies then install Copilot CLI
|
||||
"onCreateCommand": "npm ci && npm install -g @github/copilot@prerelease",
|
||||
// Start a web server and keep it running
|
||||
"postStartCommand": "nohup bash -c 'npm start &'",
|
||||
// Set port 4000 to be public
|
||||
|
||||
Reference in New Issue
Block a user