Playwright固定官方镜像
This commit is contained in:
+1
-2
@@ -78,8 +78,8 @@ docker compose up -d
|
||||
|
||||
- Debian `apt`:腾讯云镜像
|
||||
- `npm`:`npmmirror`
|
||||
- Playwright:默认先走 `npmmirror`,失败后自动回退官方源
|
||||
- `uv` 通过 `pip` 安装,`uv` / `pip` 使用腾讯云 PyPI 镜像
|
||||
- Playwright:固定使用官方源
|
||||
|
||||
如果你要切换成别的源,可以手动执行:
|
||||
|
||||
@@ -87,7 +87,6 @@ docker compose up -d
|
||||
docker compose build \
|
||||
--build-arg DEBIAN_MIRROR=mirrors.tuna.tsinghua.edu.cn \
|
||||
--build-arg NPM_REGISTRY=https://registry.npmmirror.com \
|
||||
--build-arg PLAYWRIGHT_DOWNLOAD_HOST=https://npmmirror.com/mirrors/playwright \
|
||||
--build-arg UV_DEFAULT_INDEX=https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user