Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
# ─── Builder stage (same as other Dockerfiles) ─────────────────────────────
# BUILD CONTEXT = repo root (see Dockerfile). COPY packages/ alongside mcp-host/.
# Pinned to Node 24.22.1 by digest for the October 2026 security release.
# HTTP compatibility and native bindings are exercised by the package suite and final-image CI probes.
FROM node:24.22.1-alpine@sha256:06d7adf3e0ef61a13f1d28682726366f97a15aa1888c934d3ecec86c33918b53 AS builder
WORKDIR /app
COPY packages/llm-providers ./packages/llm-providers
COPY packages/llm-provider-attempt-contract ./packages/llm-provider-attempt-contract
COPY packages/grok-provider-attempt-contract ./packages/grok-provider-attempt-contract
COPY packages/codex-catalog-projection ./packages/codex-catalog-projection
COPY packages/gfs-interaction-policy ./packages/gfs-interaction-policy
COPY mcp-host/package*.json ./mcp-host/
WORKDIR /app/mcp-host
RUN npm ci
COPY mcp-host/tsconfig.json mcp-host/tsconfig.build.json ./
COPY mcp-host/src ./src
RUN npm run build
# ─── Desktop runtime stage ─────────────────────────────────────────────────
# Pinned to a specific digest for reproducibility and supply-chain hygiene —
# the floating `ubuntu-xfce` tag mutates over time. To bump: `docker pull
# lscr.io/linuxserver/webtop:ubuntu-xfce && docker inspect --format
# '{{index .RepoDigests 0}}' lscr.io/linuxserver/webtop:ubuntu-xfce`.
FROM lscr.io/linuxserver/webtop:ubuntu-xfce@sha256:3c052ffab7a7b28ff7a592237c066a3985ff7d2c2345b2d5bbd36b82cface0ab
# Node.js 24.22.1 matches the builder. Pin published nodejs=24.22.1-1nodesource1
# so setup_24.x cannot select another 24.x package. The CI runtime image gate
# also checks the effective version, native modules and SDK HTTP transport.
RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
&& apt-get install -y nodejs=24.22.1-1nodesource1 && rm -rf /var/lib/apt/lists/*
# Dev tools
RUN apt-get update && apt-get install -y --no-install-recommends \
git curl wget vim jq unzip ca-certificates build-essential \
&& rm -rf /var/lib/apt/lists/*
# X11 computer-use tools
RUN apt-get update && apt-get install -y --no-install-recommends \
xdotool scrot xclip imagemagick \
&& rm -rf /var/lib/apt/lists/*
# The chart and PDF renderers need the same fonts as the other variants (see
# Dockerfile.slim). The base has the Noto packages but not DejaVu; listing all
# three keeps them from depending on which base digest is pinned.
RUN apt-get update && apt-get install -y --no-install-recommends \
fonts-dejavu-core fonts-noto-core fonts-noto-cjk \
&& rm -rf /var/lib/apt/lists/*
# Chromium is pre-installed in webtop (via chromium package, not snap).
# The actual binary is at /usr/lib/chromium/chromium.
# Playwright uses it via PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH.
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/lib/chromium/chromium
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
# mcp-host application (kept under /app/mcp-host so file: deps on
# ../packages/llm-providers and ../packages/llm-provider-attempt-contract
# resolve, mirroring the other variants).
WORKDIR /app
COPY packages/llm-providers ./packages/llm-providers
COPY packages/llm-provider-attempt-contract ./packages/llm-provider-attempt-contract
COPY packages/grok-provider-attempt-contract ./packages/grok-provider-attempt-contract
COPY packages/codex-catalog-projection ./packages/codex-catalog-projection
COPY packages/gfs-interaction-policy ./packages/gfs-interaction-policy
COPY --from=builder /app/mcp-host/package*.json ./mcp-host/
WORKDIR /app/mcp-host
RUN npm ci --omit=dev
COPY --from=builder /app/mcp-host/dist ./dist
# s6 init script
COPY mcp-host/50-mcp-host-service /custom-cont-init.d/
RUN chmod +x /custom-cont-init.d/50-mcp-host-service
# Workspace directory
RUN mkdir -p /config/workspace && chown -R 1000:1000 /config/workspace