File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5959 },
6060
6161 // Lifecycle commands
62- "onCreateCommand" : [
62+ "onCreateCommand" : " npm ci" ,
63+ "postStartCommand" : " nohup bash -c 'npm start &'" ,
64+ // Set the port to be public
65+ "postAttachCommand" : [
6366 " npm set \" //npm.pkg.github.com/:_authToken=$GITHUB_TOKEN\" " ,
6467 " npm set \" @github:registry=https://npm.pkg.github.com/\" " ,
6568 " npm install -g @github/copilot" ,
66- " npm ci "
69+ " gh cs ports visibility 4000:public -c \" $CODESPACE_NAME \" "
6770 ],
68- "postStartCommand" : " nohup bash -c 'npm start &'" ,
69- // Set the port to be public
70- "postAttachCommand" : " gh cs ports visibility 4000:public -c \" $CODESPACE_NAME\" " ,
71-
71+
7272 // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
7373 "remoteUser" : " node" ,
7474
You can’t perform that action at this time.
0 commit comments