diff --git a/src/graphs/infra/node.ts b/src/graphs/infra/node.ts index 0d7ba75b..358006fb 100644 --- a/src/graphs/infra/node.ts +++ b/src/graphs/infra/node.ts @@ -215,7 +215,7 @@ export class InfraGraphNode extends GraphNode | string> mount_path: '/module', }); - const flags = ['run']; + const flags = ['run', '--rm']; Object.values(volume_mounts).forEach((value) => { flags.push('-v', `${value.host_path}:${value.mount_path}`); });