feat: Update devcontainer setup with Dockerfile and improved script for pre-commit hooks
All checks were successful
Lint / pre-commit Linting (push) Successful in 1m37s

This commit is contained in:
2025-12-26 01:17:16 +01:00
parent eb3a74b709
commit 4c12baef28
3 changed files with 11 additions and 11 deletions

View File

@@ -11,9 +11,7 @@
},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/git-lfs:1": {},
"ghcr.io/devcontainers-extra/features/pipx-package:1": {
"packages": "pre-commit, ruff"
}
"ghcr.io/devcontainers-extra/features/pre-commit:2": {}
},
"customizations": {
"vscode": {
@@ -30,13 +28,13 @@
}
}
},
"postCreateCommand": "npm install",
"postStartCommand": "bash .devcontainer/setup.sh",
"remoteUser": "node",
"remoteUser": "vscode",
"updateRemoteUserUID": true,
"mounts": [
"source=pipx-venvs,target=/home/node/.local/share/pipx,type=volume",
"source=pipx-bin,target=/home/node/.local/bin,type=volume",
"source=pre-commit-cache,target=/home/node/.cache/pre-commit,type=volume",
"source=${localEnv:HOME}/.gemini,target=/home/node/.gemini,type=bind"
"source=${localEnv:USERPROFILE}/.gemini,target=/home/node/.gemini,type=bind"
]
}