Switch frontend package sources to npm official registry.
Replace artifactory URLs in lockfile and update runtime/default docs to use https://registry.npmjs.org for dependency installs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -95,7 +95,7 @@ docker run --rm -it \
|
||||
- `GIT_REPO_URL`:容器启动时拉取代码的仓库地址
|
||||
- `GIT_BRANCH`:拉取分支(默认 `main`)
|
||||
- `WORKTREE_DIR`:容器内代码目录(默认 `/app/runtime`)
|
||||
- `NPM_REGISTRY`:前端依赖安装镜像源(默认 `https://registry.npmmirror.com`)
|
||||
- `NPM_REGISTRY`:前端依赖安装镜像源(默认 `https://registry.npmjs.org`)
|
||||
- `NPM_FALLBACK_REGISTRY`:`NPM_REGISTRY` 失败时回退源(默认 `https://registry.npmjs.org`)
|
||||
- `FORCE_FRONTEND_REBUILD`:强制每次重装前端依赖并重建(默认 `0`,仅 lockfile 变更时才安装构建)
|
||||
- `NPM_INSTALL_TIMEOUT_SEC`:前端依赖安装超时秒数(默认 `900`)
|
||||
|
||||
Reference in New Issue
Block a user