v2: Forge Console + Open WebUI artifacts + Docker
- web/: Local chat UI (Express + WS → Codex bridge) - openwebui/: Preset, pipelines, knowledge manifest - Dockerfile + docker-compose.yml - Updated README with 3 frontend options - CLI-agnostic: works with Codex, Claude Code, Kiro, Gemini
This commit is contained in:
28
Dockerfile
Normal file
28
Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
FROM node:22-slim
|
||||
|
||||
# Install system deps for mcporter and codex
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
python3 \
|
||||
python3-pip \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install mcporter and codex globally
|
||||
RUN npm install -g @anthropic/mcporter @openai/codex
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy web deps first for layer caching
|
||||
COPY web/package.json web/package-lock.json* web/
|
||||
RUN cd web && npm install --production
|
||||
|
||||
# Copy everything else
|
||||
COPY . .
|
||||
|
||||
# Make start script executable
|
||||
RUN chmod +x start.sh
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "web/server.js"]
|
||||
Reference in New Issue
Block a user