Keep containers running; override entrypoints
This commit is contained in:
parent
6b7208202c
commit
b275fd548d
1 changed files with 2 additions and 2 deletions
|
@ -73,10 +73,10 @@ class LanguageHandler extends AkairoHandler {
|
|||
|
||||
const name = `comp_iler-${dockerID}-${Date.now()}`;
|
||||
const proc = childProcess.spawn('docker', [
|
||||
'run', '--rm', `--name=${name}`, '-u1000', '-w/tmp/', '-t', '-d',
|
||||
'run', '--rm', `--name=${name}`, '-u1000', '-w/tmp/', '-dt',
|
||||
'--net=none', `--cpus=${this.client.config.cpus}`,
|
||||
`-m=${this.client.config.memory}`, `--memory-swap=${this.client.config.memory}`,
|
||||
`1computer1/comp_iler:${dockerID}`
|
||||
`1computer1/comp_iler:${dockerID}`, '/bin/sh'
|
||||
]);
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue