We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d02ff17 commit 281e194Copy full SHA for 281e194
.devcontainer/devcontainer.json
@@ -59,9 +59,11 @@
59
},
60
61
// Lifecycle commands
62
- "onCreateCommand": "npm ci",
+ // Install dependencies then install Copilot CLI
63
+ "onCreateCommand": "npm ci && npm config set \"//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN\" && npm config set \"@github:registry=https://npm.pkg.github.com/\" && npm install -g @github/copilot",
64
+ // Start a web server and keep it running
65
"postStartCommand": "nohup bash -c 'npm start &'",
- // Set the port to be public
66
+ // Set port 4000 to be public
67
"postAttachCommand": "gh cs ports visibility 4000:public -c \"$CODESPACE_NAME\"",
68
69
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
0 commit comments