Update Dockerfile

This commit is contained in:
Felipe Domingues 2026-04-29 08:01:51 -03:00 committed by GitHub
parent 53f7ef84d2
commit e87c943ebd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,18 +8,23 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \ curl \
ca-certificates \ ca-certificates \
build-essential \ build-essential \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Clona o Hermes oficial da NousResearch # Clona o Hermes oficial da NousResearch
RUN git clone --depth 1 https://github.com/NousResearch/hermes-agent.git /opt/hermes RUN git clone --depth 1 https://github.com/NousResearch/hermes-agent.git /opt/hermes
WORKDIR /opt/hermes WORKDIR /opt/hermes
# Instala o Hermes e suas dependências # Builda o frontend do dashboard web (necessário para `hermes dashboard`)
WORKDIR /opt/hermes/web
RUN npm install && npm run build
# Volta para a raiz e instala o Hermes + dependências Python
WORKDIR /opt/hermes
RUN pip install --no-cache-dir --upgrade pip \ RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -e ".[all]" && pip install --no-cache-dir -e ".[all]"
# ============================================================ # ============================================================
# Stage 2: Customizações (skills_api + entrypoint + proxy) # Stage 2: Customizações (skills_api + entrypoint + proxy)
# ============================================================ # ============================================================