From 013b26239942cabb97eb46dac908261f4afedc61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Rom=C3=A1n?= Date: Tue, 20 Jan 2026 12:08:41 -0800 Subject: [PATCH] chore(devcontainer): improve disk performance --- .devcontainer.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.devcontainer.json b/.devcontainer.json index 13967b0..63689ad 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,6 +1,11 @@ { "name": "java-api", "image": "quay.io/ignition-devs/devcontainer-base:python", + "workspaceMount": "source=${localWorkspaceFolder},target=${containerWorkspaceFolder},type=bind", + "workspaceFolder": "/workspaces/java-api", + "mounts": [ + "source=pre-commit-cache,target=/root/.cache/pre-commit,type=volume" + ], "customizations": { "vscode": { "extensions": [ @@ -14,4 +19,4 @@ }, "onCreateCommand": "pre-commit install --hook-type pre-commit --hook-type commit-msg --hook-type pre-push", "postCreateCommand": "python2 -m pip install --requirement requirements.txt" -} \ No newline at end of file +}