mirror of
				https://github.com/vastxie/99AI.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	fix:增加淘宝源、跳过网站证书验证
This commit is contained in:
		@@ -7,6 +7,12 @@ COPY . .
 | 
			
		||||
# 使用腾讯源(国内服务器可取消下方注释以提升安装速度)
 | 
			
		||||
# RUN npm config set registry https://mirrors.cloud.tencent.com/npm/
 | 
			
		||||
 | 
			
		||||
# 使用淘宝源(国内服务器可取消下方注释以提升安装速度)
 | 
			
		||||
# RUN npm config set registry https://registry.npmmirror.com
 | 
			
		||||
 | 
			
		||||
# 如遇到提示网站证书无效,取消下方注释,禁止严格SS策略
 | 
			
		||||
# RUN npm config set strict-ssl false
 | 
			
		||||
 | 
			
		||||
# 使用 pnpm 安装项目依赖
 | 
			
		||||
RUN npm install -g pnpm
 | 
			
		||||
RUN pnpm install
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user