From 0602ff8f58ebeb4c5ea5feebc91fd4443d259210 Mon Sep 17 00:00:00 2001 From: Sahil Date: Fri, 10 Apr 2026 00:53:24 +0530 Subject: [PATCH] fix(docker): use uv for dependency resolution to fix resolution-too-deep error --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0eddaba0..b36c009f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \