Skip to content

Commit 1fd9b2f

Browse files
committed
Add mount for uv cache
Significantly cuts devcontainer start-up time but requires cache directory to already exist on local machine.
1 parent 402fe35 commit 1fd9b2f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333
]
3434
}
3535
},
36+
"mounts": [
37+
{
38+
"source": "${localEnv:HOME}/.cache/uv",
39+
"target": "/.cache/uv",
40+
"type": "bind"
41+
}
42+
],
3643
"features": {
3744
// add in eternal history and other bash features
3845
"ghcr.io/diamondlightsource/devcontainer-features/bash-config:1": {}

0 commit comments

Comments
 (0)