fix(gateway): deploy native in-project soc-gateway-live container artifact, eliminate ttyd terminal, clean up external static apps, and update English security reports
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
const { RemoteTerminal } = require('./remote_exec');
|
||||
|
||||
async function main() {
|
||||
const term = new RemoteTerminal('wss://soc-gateway-28cd1dc4e034.hosted.ghaymah.systems/ws');
|
||||
await term.connect();
|
||||
console.log('Installing nodejs on soc-gateway...');
|
||||
const res = await term.exec('rm -f /var/lock/apk; apk add --no-progress nodejs && node -v', 90000);
|
||||
console.log('Result:\n', res.output);
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
main().catch(console.error);
|
||||
Reference in New Issue
Block a user