Skip to content

Commit 2f4b970

Browse files
committed
Use shared volume for uv cache instead of local cache
Re-using the user's local cache means invalid links get created
1 parent 95b8c2e commit 2f4b970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
},
5454
// Keep a persistent cross container cache for uv
5555
{
56-
"source": "${localEnv:HOME}/.cache/uv",
56+
"name": "persistent-uv-cache",
5757
"target": "/root/.cache/uv",
58-
"type": "bind"
58+
"type": "volume"
5959
},
6060
// Use a volume mount for the uv venv so it is local to the container
6161
{

0 commit comments

Comments
 (0)