mirror of
https://github.com/domfelipe/hermes-agent-custom.git
synced 2026-08-07 13:16:40 +00:00
Update Dockerfile
This commit is contained in:
parent
53f7ef84d2
commit
e87c943ebd
1 changed files with 8 additions and 3 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -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)
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue