Spaces:
Running
Running
Fix uv pip install syntax and flags for hermes-agent install
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -158,10 +158,9 @@ ENV REA_PWNTOOLS_PYTHON="/usr/bin/python3"
|
|
| 158 |
# 8. Hermes Agent Core & Caddy Server
|
| 159 |
# ------------------------------------------
|
| 160 |
RUN git clone --depth 1 https://github.com/NousResearch/hermes-agent.git /usr/local/lib/hermes-agent && \
|
| 161 |
-
pip3 install
|
| 162 |
cd /usr/local/lib/hermes-agent && \
|
| 163 |
-
uv pip install --system -e ".[all
|
| 164 |
-
rm -rf /root/.cache/pip && \
|
| 165 |
curl -fsSL "https://caddyserver.com/api/download?os=linux&arch=amd64" -o /usr/local/bin/caddy && \
|
| 166 |
chmod +x /usr/local/bin/caddy
|
| 167 |
|
|
|
|
| 158 |
# 8. Hermes Agent Core & Caddy Server
|
| 159 |
# ------------------------------------------
|
| 160 |
RUN git clone --depth 1 https://github.com/NousResearch/hermes-agent.git /usr/local/lib/hermes-agent && \
|
| 161 |
+
pip3 install --no-cache-dir --break-system-packages uv && \
|
| 162 |
cd /usr/local/lib/hermes-agent && \
|
| 163 |
+
uv pip install --system -e ".[all]" && \
|
|
|
|
| 164 |
curl -fsSL "https://caddyserver.com/api/download?os=linux&arch=amd64" -o /usr/local/bin/caddy && \
|
| 165 |
chmod +x /usr/local/bin/caddy
|
| 166 |
|