fix: update Dockerfile to install Playwright dependencies for Chrome instead of Chromium

This commit is contained in:
samanhappy
2025-04-14 19:56:19 +08:00
parent 5a2be4d4fe
commit 7f887a7031
2 changed files with 2 additions and 4 deletions

View File

@@ -19,11 +19,9 @@ RUN mkdir -p $PNPM_HOME && \
ARG INSTALL_EXT=false
RUN if [ "$INSTALL_EXT" = "true" ]; then \
npx -y playwright install --with-deps chromium; \
npx -y playwright install --with-deps chrome; \
fi
ENV PATH=$PATH:~/.cache/ms-playwright/chromium-*/chrome-linux/
RUN uv tool install mcp-server-fetch
ENV UV_PYTHON_INSTALL_MIRROR="http://mirrors.aliyun.com/pypi/simple/"