motif64

m64_f7394b4841bc / Dockerfile

26 lines, 1.4 KBraw
1# DeepSeek Harness 0.2.0-rc.2 (deepseek-ai/deepseek-harness) behind the CLI shim + a small control gateway,2# driving Xiaomi MiMo V2.6 Flash on OpenRouter. Adapted from gx10 ~/code/vlmtest/agents/dsh/Dockerfile.3# No GPU. At run time m64 puts the container on an internal network whose only egress is4# its gate (HTTP(S)_PROXY); the gate adds the OpenRouter key to plain http://openrouter.ai5# requests, so the key never enters the container.6#7# Base: node:22-bookworm-slim (Node 22.23.2), pinned by its multi-arch index digest8# (the same base as the opencode-dsflash-openrouter-gb10 capsule).9FROM node@sha256:48e4b67d85f87bd551df43704e24d252f56cc5f8e9718841aace50f19948f0f91011RUN apt-get update -qq && apt-get install -y --no-install-recommends \12      ca-certificates git ripgrep jq curl python3 python3-venv python3-pip \13      build-essential procps less file unzip \14    && rm -rf /var/lib/apt/lists/*1516RUN npm install -g @deepseek-ai/dsh@0.2.0-rc.2 && npm cache clean --force1718# Gateway deps, the same pinned set as the opencode capsule's gateway (Python 3.11).19RUN python3 -m venv /opt/gateway && /opt/gateway/bin/pip install --no-cache-dir \20      fastapi==0.115.14 uvicorn==0.32.1 httpx==0.28.1 \21      starlette==0.46.2 pydantic==2.14.1 pydantic_core==2.50.1 annotated-types==0.8.0 \22      typing_extensions==4.16.0 typing-inspection==0.4.4 anyio==4.15.1 idna==3.20 \23      certifi==2026.10.23 httpcore==1.0.9 h11==0.16.0 click==8.5.02425USER node26WORKDIR /scratch