Skip to content

Commit db7b70e

Browse files
committed
Make each command 50ms faster
Signed-off-by: David Gageot <[email protected]>
1 parent 29029c0 commit db7b70e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/extension/ui/src/utils/Files.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export const readFileInPromptsVolume = async (
5959
"--rm",
6060
"-v",
6161
"docker-prompts:/docker-prompts",
62+
"--network=none",
6263
"-w",
6364
"/docker-prompts",
6465
BUSYBOX,
@@ -78,6 +79,7 @@ export const writeToPromptsVolume = async (
7879
"--rm",
7980
"-v",
8081
"docker-prompts:/workdir",
82+
"--network=none",
8183
"-w",
8284
"/workdir",
8385
BUSYBOX,
@@ -99,6 +101,7 @@ export const writeToMount = async (
99101
"--rm",
100102
"--mount",
101103
mount,
104+
"--network=none",
102105
BUSYBOX,
103106
"/bin/sh",
104107
"-c",

0 commit comments

Comments
 (0)