Skip to content

Commit e77a825

Browse files
committed
Only mount uv cache
1 parent eb38ae1 commit e77a825

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.devcontainer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
// Allow X11 apps to run inside the container
99
"DISPLAY": "${localEnv:DISPLAY}",
1010
},
11-
// Create the config folder for the bash-config feature
12-
"initializeCommand": "mkdir -p ${localEnv:HOME}/.config/terminal-config",
11+
// Create the config folder for the user modifiable terminal-config and the uv cache
12+
"initializeCommand": "mkdir -p ${localEnv:HOME}/.config/terminal-config ${localEnv:HOME}/.cache/uv",
1313
"runArgs": [
1414
// Allow the container to access the host X11 display and EPICS CA
1515
"--net=host",
@@ -25,10 +25,10 @@
2525
"target": "/user-terminal-config",
2626
"type": "bind"
2727
},
28-
// Keep a persistent cross container cache
28+
// Keep a persistent cross container cache for uv
2929
{
30-
"source": "${localEnv:HOME}/.cache",
31-
"target": "/root/.cache",
30+
"source": "${localEnv:HOME}/.cache/uv",
31+
"target": "/root/.cache/uv",
3232
"type": "bind"
3333
}
3434
],

0 commit comments

Comments
 (0)