simplify: drop Dockerfile, use upstream node:22-slim

No custom images to maintain. docker-compose mounts the repo
directly into the stock node container.
This commit is contained in:
Max Mayfield
2026-02-27 07:06:22 +00:00
parent b2400dfa97
commit ae9b04d9f5
3 changed files with 5 additions and 45 deletions

View File

@@ -1,6 +0,0 @@
web/node_modules
npm-debug.log
.env
bmad/
.standards/
.git

View File

@@ -1,28 +0,0 @@
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"]

View File

@@ -1,20 +1,14 @@
services: services:
forge: forge:
build: . image: node:22-slim
container_name: forge-console container_name: forge-console
working_dir: /app
command: >
sh -c "cd web && npm install --production --silent && node server.js"
ports: ports:
- "3000:3000" - "3000:3000"
env_file: env_file:
- .env - .env
volumes: volumes:
# Mount skills and config so changes persist without rebuild - .:/app
- ./skills:/app/skills
- ./config:/app/config
- ./bmad:/app/bmad
- ./.standards:/app/.standards
# Mount mcporter auth cache so OAuth tokens persist
- mcporter-auth:/root/.mcporter
restart: unless-stopped restart: unless-stopped
volumes:
mcporter-auth: