Skip to content

Commit e8273f7

Browse files
authored
chore(devcontainer): improve disk performance (#13)
1 parent 9be3d47 commit e8273f7

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.devcontainer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "java-api",
33
"image": "quay.io/ignition-devs/devcontainer-base:python",
4+
"workspaceMount": "source=${localWorkspaceFolder},target=${containerWorkspaceFolder},type=bind",
5+
"workspaceFolder": "/workspaces/java-api",
6+
"mounts": [
7+
"source=pre-commit-cache,target=/root/.cache/pre-commit,type=volume"
8+
],
49
"customizations": {
510
"vscode": {
611
"extensions": [
@@ -14,4 +19,4 @@
1419
},
1520
"onCreateCommand": "pre-commit install --hook-type pre-commit --hook-type commit-msg --hook-type pre-push",
1621
"postCreateCommand": "python2 -m pip install --requirement requirements.txt"
17-
}
22+
}

0 commit comments

Comments
 (0)