Skip to content

Commit 8a6ed96

Browse files
authored
Add Copilot CLI feature to devcontainer (#58813)
1 parent e7b6146 commit 8a6ed96

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// Install features. Type 'feature' in the VS Code command palette for a full list.
1313
"features": {
1414
"sshd": "latest",
15+
"ghcr.io/devcontainers/features/copilot-cli:1": {
16+
"version": "prerelease"
17+
},
1518
"ghcr.io/devcontainers/features/github-cli:1": {}
1619
},
1720

@@ -59,8 +62,6 @@
5962
},
6063

6164
// Lifecycle commands
62-
// Install dependencies then install Copilot CLI
63-
"onCreateCommand": "npm ci && npm install -g @github/copilot@prerelease",
6465
// Start a web server and keep it running
6566
"postStartCommand": "nohup bash -c 'npm start &'",
6667
// Set port 4000 to be public

0 commit comments

Comments
 (0)