CoolFace
Apppublic

HackerBol/hermes-agent

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
1likes
Dockerfile47 linesDownload Raw Back to root
1FROM python:3.132 3# Install system dependencies for Playwright + Node.js (for MCP servers)4RUN apt-get update && apt-get install -y \5    git git-lfs ffmpeg libsm6 libxext6 cmake rsync libgl1 \6    libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 \7    libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 \8    libgbm1 libpango-1.0-0 libcairo2 libasound2 \9    curl \10    && rm -rf /var/lib/apt/lists/* \11    && git lfs install12 13# Install Node.js 20.x (required for MCP servers — most are npm packages)14RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \15    && apt-get install -y nodejs \16    && node --version \17    && npm --version18 19WORKDIR /app20 21COPY requirements.txt .22RUN pip install --no-cache-dir pip -U && \23    pip install --no-cache-dir \24    datasets "huggingface-hub>=0.30" "hf-transfer>=0.1.4" "protobuf<4" "click<8.1"25 26RUN pip install --no-cache-dir -r requirements.txt \27    gradio[oauth]==4.44.1 "uvicorn>=0.14.0" "websockets>=10.4" spaces28 29# Install curl_cffi for Chrome TLS fingerprint spoofing (Signal #51)30RUN pip install --no-cache-dir curl_cffi31 32# Install Playwright browsers33RUN playwright install chromium34RUN playwright install-deps chromium || true35 36# Pre-install popular MCP servers (cached for faster startup)37RUN npm install -g @anthropic/github-mcp 2>/dev/null || true38RUN npm install -g @anthropic/filesystem-mcp 2>/dev/null || true39 40COPY . .41 42EXPOSE 786043ENV GRADIO_SERVER_NAME=0.0.0.044ENV GRADIO_SERVER_PORT=786045 46CMD ["python", "app.py"]47