fix(dev/server-setup): node path is now /nodejs/bin/node (#247)
This commit is contained in:
Родитель
5ce40d5a9b
Коммит
14e1fd431c
|
@ -134,7 +134,7 @@ services:
|
|||
test:
|
||||
[
|
||||
"CMD",
|
||||
"node",
|
||||
"/nodejs/bin/node",
|
||||
"-e",
|
||||
"try { require('node:http').request({headers: {'Content-Type': 'application/json'}, port:3000, hostname:'127.0.0.1', path:'/graphql?query={serverInfo{version}}', method: 'GET', timeout: 2000 }, (res) => { body = ''; res.on('data', (chunk) => {body += chunk;}); res.on('end', () => {process.exit(res.statusCode != 200 || body.toLowerCase().includes('error'));}); }).end(); } catch { process.exit(1); }",
|
||||
]
|
||||
|
@ -361,7 +361,7 @@ services:
|
|||
test:
|
||||
[
|
||||
"CMD",
|
||||
"node",
|
||||
"/nodejs/bin/node",
|
||||
"-e",
|
||||
"try { require('node:http').request({headers: {'Content-Type': 'application/json'}, port:3000, hostname:'127.0.0.1', path:'/graphql?query={serverInfo{version}}', method: 'GET', timeout: 2000 }, (res) => { body = ''; res.on('data', (chunk) => {body += chunk;}); res.on('end', () => {process.exit(res.statusCode != 200 || body.toLowerCase().includes('error'));}); }).end(); } catch { process.exit(1); }",
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче