diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index de182095..2056f9c7 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -56,9 +56,15 @@ }, // Keep a persistent cross container cache for uv { - "source": "${localEnv:HOME}/.cache/uv", + "source": "persistent-uv-cache", "target": "/root/.cache/uv", - "type": "bind" + "type": "volume" + }, + // ...and for pre-commit + { + "source": "persistent-pre-commit-cache", + "target": "/root/.cache/pre-commit", + "type": "volume" }, // Use a volume mount for the uv venv so it is local to the container {