From 51e908e145fbfbbd41fe64af80b6df327ecc5e28 Mon Sep 17 00:00:00 2001 From: dtzp555-max Date: Tue, 5 May 2026 09:44:00 +1000 Subject: [PATCH] chore(repo): remove broken/undocumented Docker files (#58) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Dockerfile, docker-compose.yml, and .dockerignore are removed because the Dockerfile is structurally broken AND Docker is not a documented runtime for OCP. ### Evidence — Dockerfile is broken The Dockerfile COPYs only 3 files: ``` COPY server.mjs ./ COPY setup.mjs ./ COPY package.json ./ ``` But `setup.mjs:43` reads `models.json` at runtime (`JSON.parse(readFileSync(join(__dirname, "models.json"), ...))`), and `server.mjs` requires `keys.mjs`, `dashboard.html`, etc. The container as built would crash on first run. ### Evidence — Docker is undocumented ``` $ grep -i docker README.md AGENTS.md CLAUDE.md # 0 hits ``` No README install path, no AGENTS.md runtime mention, no CLAUDE.md release-kit reference. These files were ghost infrastructure. ### Why delete vs. fix Fixing the Dockerfile to actually work would require: COPYing 6+ files, verifying the container can write to `~/.openclaw/`, deciding on auth mounting (claude CLI binary + auth state), and adding documentation across README/AGENTS/CLAUDE. None of that is justified by a request. Easier to remove the dead files now and reintroduce a working Dockerfile when there's an actual demand for containerised OCP, with proper documentation alongside. Refs: audit (dead infrastructure cleanup). Co-authored-by: dtzp555 --- .dockerignore | 8 -------- Dockerfile | 14 -------------- docker-compose.yml | 7 ------- 3 files changed, 29 deletions(-) delete mode 100644 .dockerignore delete mode 100644 Dockerfile delete mode 100644 docker-compose.yml diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index a6574f6..0000000 --- a/.dockerignore +++ /dev/null @@ -1,8 +0,0 @@ -.git -.gitignore -*.md -node_modules -.env -.env.* -scripts/ -start.sh diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 56a86f5..0000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM node:20-alpine - -WORKDIR /app - -COPY server.mjs ./ -COPY setup.mjs ./ -COPY package.json ./ - -ENV CLAUDE_SESSION_TOKEN="" \ - CLAUDE_COOKIES="" - -EXPOSE 3456 - -CMD ["node", "server.mjs"] diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 770157c..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,7 +0,0 @@ -services: - claude-proxy: - build: . - ports: - - "3456:3456" - env_file: .env - restart: unless-stopped