fix(docker): use uv for dependency resolution to fix resolution-too-deep error
This commit is contained in:
@@ -13,7 +13,8 @@ COPY . /opt/hermes
|
|||||||
WORKDIR /opt/hermes
|
WORKDIR /opt/hermes
|
||||||
|
|
||||||
# Install Python and Node dependencies in one layer, no cache
|
# 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 && \
|
npm install --prefer-offline --no-audit && \
|
||||||
npx playwright install --with-deps chromium --only-shell && \
|
npx playwright install --with-deps chromium --only-shell && \
|
||||||
cd /opt/hermes/scripts/whatsapp-bridge && \
|
cd /opt/hermes/scripts/whatsapp-bridge && \
|
||||||
|
|||||||
Reference in New Issue
Block a user