| FROM node:24-slim |
|
|
| |
| RUN apt-get update && apt-get install -y curl bash git python3 python3-pip && rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN mkdir -p /data/openchamber /data/opencode/share /data/opencode/config /data/ssh /workspace |
| RUN chown -R node:node /data /workspace |
|
|
| |
| USER node |
| WORKDIR /workspace |
|
|
| |
| ENV NPM_CONFIG_PREFIX=/home/node/.npm-global |
| ENV PATH=$PATH:/home/node/.npm-global/bin:/home/node/.local/bin |
|
|
| |
| RUN npm install -g opencode-ai |
|
|
| RUN npm install -g hevy-mcp yazio-mcp |
|
|
| |
| RUN curl -fsSL https://raw.githubusercontent.com/btriapitsyn/openchamber/main/scripts/install.sh | bash |
|
|
| |
| EXPOSE 7860 |
|
|
| |
| CMD ["openchamber", "serve", "--port", "7860", "--host", "0.0.0.0", "--foreground"] |