Add healthcheck and attempt to fix devcontainer

user was root instead of vscode, and pi was broken.
Claude code had gone missing
This commit is contained in:
Willem van den Ende
2026-03-18 17:15:45 +00:00
parent 80046094b8
commit 99639090b6
3 changed files with 19 additions and 5 deletions
+4 -1
View File
@@ -24,4 +24,7 @@ RUN /home/vscode/.local/bin/mise exec -- mix local.hex --force && \
RUN npm install -g @mariozechner/pi-coding-agent
USER root
RUN npm install -g @anthropic-ai/claude-code
RUN echo 'eval "$(/home/vscode/.local/bin/mise activate bash)"' >> /home/vscode/.bashrc
RUN /home/vscode/.local/bin/mise settings set trusted_config_paths /workspaces/firehose
+3 -4
View File
@@ -3,10 +3,9 @@
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/firehose",
"remoteUser": "root",
"remoteUser": "vscode",
"containerEnv": {
"DB_HOST": "db",
"HOME": "/home/vscode"
"DB_HOST": "db"
},
"features": {
"ghcr.io/devcontainers/features/python:1": {},
@@ -20,7 +19,7 @@
"source=${localEnv:HOME}/.pi/agent/bin,target=/home/vscode/.pi/agent/bin,type=bind,consistency=cached"
],
"postCreateCommand": {
"pi-subagents": "bash -ic 'pi install npm:pi-subagents'"
"pi-subagents-disabled": "echo 'pi-subagents disabled: upstream JSON schema bug — investigate version pinning separately'"
},
"customizations": {
"jetbrains": {