fix:增加淘宝源、跳过网站证书验证

This commit is contained in:
John Xi 2024-04-21 08:23:07 +08:00 committed by GitHub
parent e16a0aa01d
commit bce67979e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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