fix(docker): use uv for dependency resolution to fix resolution-too-deep error

This commit is contained in:
Sahil 2026-04-10 00:53:24 +05:30 committed by Teknium
parent 8104f400f8
commit 0602ff8f58

View File

@ -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 && \