Spaces:
Runtime error
Runtime error
| FROM nikolaik/python-nodejs:python3.10-nodejs18 | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y curl git && rm -rf /var/lib/apt/lists/* | |
| RUN curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash | |
| EXPOSE 7860 | |
| CMD echo "LLM_PROVIDER=openrouter" > ~/.hermes/.env && \ | |
| echo "OPENROUTER_API_KEY=$OPENROUTER_API_KEY" >> ~/.hermes/.env && \ | |
| echo "DEFAULT_MODEL=nousresearch/hermes-3-llama-3.1-405b:free" >> ~/.hermes/.env && \ | |
| echo "GATEWAY_PROVIDER=web" >> ~/.hermes/.env && \ | |
| echo "GATEWAY_ALLOW_ALL_USERS=true" >> ~/.hermes/.env && \ | |
| echo "PORT=7860" >> ~/.hermes/.env && \ | |
| /usr/local/bin/hermes gateway run |