mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
fix: update Dockerfile to set Playwright browser path and environment variables
This commit is contained in:
@@ -19,9 +19,12 @@ RUN mkdir -p $PNPM_HOME && \
|
|||||||
|
|
||||||
ARG INSTALL_EXT=false
|
ARG INSTALL_EXT=false
|
||||||
RUN if [ "$INSTALL_EXT" = "true" ]; then \
|
RUN if [ "$INSTALL_EXT" = "true" ]; then \
|
||||||
npx -y playwright install --with-deps chromium; \
|
npx -y playwright install --with-deps chromium --browsers-path=/ms-playwright; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||||
|
ENV PATH=$PATH:/ms-playwright/chromium-*/chrome-linux/
|
||||||
|
|
||||||
RUN uv tool install mcp-server-fetch
|
RUN uv tool install mcp-server-fetch
|
||||||
ENV UV_PYTHON_INSTALL_MIRROR="http://mirrors.aliyun.com/pypi/simple/"
|
ENV UV_PYTHON_INSTALL_MIRROR="http://mirrors.aliyun.com/pypi/simple/"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user