From a7273dce2be2afc5263799f34fe0047f10fda1dd Mon Sep 17 00:00:00 2001 From: robot Date: Mon, 3 Aug 2026 23:06:33 +0000 Subject: [PATCH] fix(devcontainer): restore python venv init and mounts section 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. --- .devcontainer/devcontainer.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 81e5513..3d150e2 100755 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,8 @@ { "name": "kryz-go", + "mounts": [ + // "source=/dev/dri,target=/dev/dri,type=bind" + ], "build": { "dockerfile": "Dockerfile" }, @@ -11,10 +14,11 @@ ] } }, - "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": { "ANTHROPIC_BASE_URL": "http://192.168.1.108:1234", "ANTHROPIC_API_KEY": "lmstudio", "ANTHROPIC_BASE_MODEL": "qwen/qwen3.6-27b" } -} \ No newline at end of file +}