fix(devcontainer): restore python venv init and mounts section
CI / Lint (pull_request) Successful in 2m29s
CI / Test (pull_request) Successful in 2m24s
CI / Build Android (pull_request) Successful in 13m17s
CI / Build iOS (pull_request) Canceled after 0s

Kyle's Comment #155: the python venv initialization was removed from
postCreateCommand, breaking tools like the whitelabeler script that
depend on python dependencies. Restored the full init chain plus the
mounts section that was also lost.
This commit is contained in:
robot committed 2026-08-03 23:06:33 +00:00
1 parent a1c0954a4d
commit a7273dce2b
1 file changed
+5 -1
+5 -1
View File
@@ -1,5 +1,8 @@
{ {
"name": "kryz-go", "name": "kryz-go",
"mounts": [
// "source=/dev/dri,target=/dev/dri,type=bind"
],
"build": { "build": {
"dockerfile": "Dockerfile" "dockerfile": "Dockerfile"
}, },
@@ -11,7 +14,8 @@
] ]
} }
}, },
"postCreateCommand": "flutter pub get", "postCreateCommand": "flutter pub get && python3 -m venv .venv && . .venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt && curl -fsSL https://claude.ai/install.sh | bash",
"postStartCommand": ".venv/bin/activate",
"containerEnv": { "containerEnv": {
"ANTHROPIC_BASE_URL": "http://192.168.1.108:1234", "ANTHROPIC_BASE_URL": "http://192.168.1.108:1234",
"ANTHROPIC_API_KEY": "lmstudio", "ANTHROPIC_API_KEY": "lmstudio",