File size: 494 Bytes
3131458
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.11-slim

# Install system dependencies
RUN apt-get update && apt-get install -y \
    git \
    curl \
    && rm -rf /var/lib/apt/lists/*

# Install Hermes Agent
RUN curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

# Configure persistent storage path for Hermes
ENV HERMES_HOME=/data/hermes
RUN mkdir -p /data/hermes

# Expose port for gateway (if needed)
EXPOSE 8080

# Command to run Hermes
CMD ["hermes", "gateway", "run"]