FROM node:22-bookworm # Installation des dépendances RUN apt-get update && \ apt-get install -y git ffmpeg && \ npm install -g pnpm && \ rm -rf /var/lib/apt/lists/* # Clonage du Workspace RUN git clone https://github.com/outsourc-e/hermes-workspace.git /opt/hermes-workspace WORKDIR /opt/hermes-workspace # Installation RUN pnpm install # Compilation RUN pnpm build # Variables d'environnement # On remet HERMES_DASHBOARD_URL pour que Workspace cible bien ton Agent distant. # COOKIE_SECURE=0 permet d'éviter que le proxy de Hugging Face ne rejette la session. ENV NODE_ENV=production \ HOST=0.0.0.0 \ PORT=7860 \ HERMES_API_URL=https://dieumercimvemba-hermesagent.hf.space \ HERMES_DASHBOARD_URL=https://dieumercimvemba-hermesagent.hf.space \ HERMES_API_TOKEN=hermes_2026_8QvL9mN2XpR7kTw5YcH4ZaU1EfD8JsP6BgW3NrKyLxV9 \ TRUST_PROXY=1 \ COOKIE_SECURE=0 \ HERMES_PASSWORD=mvemba-2026-secure EXPOSE 7860 CMD ["pnpm", "start"]