mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-10 08:32:09 +00:00
fix(docker): use uv for dependency resolution to fix resolution-too-deep error
This commit is contained in:
parent
8104f400f8
commit
0602ff8f58
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ COPY . /opt/hermes
|
|||
WORKDIR /opt/hermes
|
||||
|
||||
# Install Python and Node dependencies in one layer, no cache
|
||||
RUN pip install --no-cache-dir -e ".[all]" --break-system-packages && \
|
||||
RUN pip install --no-cache-dir uv --break-system-packages && \
|
||||
uv pip install --system --break-system-packages --no-cache -e ".[all]" && \
|
||||
npm install --prefer-offline --no-audit && \
|
||||
npx playwright install --with-deps chromium --only-shell && \
|
||||
cd /opt/hermes/scripts/whatsapp-bridge && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue