Skip to content

Commit

Permalink
feat(#151): multiple IO version
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh000526 committed Dec 3, 2024
1 parent ee7be65 commit f01591a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/docker/docker.consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export class DockerConsumer {
console.log(`${c}번째 프로세스 시작`);
container = await this.dockerContainerPool.pool[0];
const containerInfo = await container.inspect();
await this.initWorkDir(container, c);
const result = await this.runGistFiles(container, gitToken, gistId, commitId, mainFileName, inputs, c);
await this.cleanWorkDir(container, c);
console.log(`${c}번째 프로세스 종료`);
Expand All @@ -101,7 +102,6 @@ export class DockerConsumer {
if (!files || !files.some((file) => file.fileName === mainFileName)) {
throw new HttpException('execFile is not found', HttpStatus.NOT_FOUND);
}
await this.initWorkDir(container, dirId);
//desciption: 컨테이너 시작
const tarBuffer = await this.parseTarBuffer(files);

Expand Down

0 comments on commit f01591a

Please sign in to comment.