mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 06:51:16 +08:00
Optimize Playwright install
This commit is contained in:
@@ -12,7 +12,7 @@ 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 -e ".[all]" --break-system-packages && \
|
||||||
npm install --prefer-offline --no-audit && \
|
npm install --prefer-offline --no-audit && \
|
||||||
npx playwright install --with-deps chromium && \
|
npx playwright install --with-deps chromium --only-shell && \
|
||||||
cd /opt/hermes/scripts/whatsapp-bridge && \
|
cd /opt/hermes/scripts/whatsapp-bridge && \
|
||||||
npm install --prefer-offline --no-audit && \
|
npm install --prefer-offline --no-audit && \
|
||||||
npm cache clean --force
|
npm cache clean --force
|
||||||
|
|||||||
Reference in New Issue
Block a user