mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-23 18:29:21 -05:00
fix: update Dockerfile to set Playwright browser path and remove unnecessary environment variable
This commit is contained in:
@@ -19,11 +19,10 @@ RUN mkdir -p $PNPM_HOME && \
|
||||
|
||||
ARG INSTALL_EXT=false
|
||||
RUN if [ "$INSTALL_EXT" = "true" ]; then \
|
||||
npx -y playwright install --with-deps chromium --browsers-path=/ms-playwright; \
|
||||
npx -y playwright install --with-deps chromium; \
|
||||
fi
|
||||
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
ENV PATH=$PATH:/ms-playwright/chromium-*/chrome-linux/
|
||||
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/"
|
||||
|
||||
Reference in New Issue
Block a user