mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-18 15:03:43 +08:00
package
This commit is contained in:
14
start.sh
14
start.sh
@@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
# 加速
|
||||
#yarn config set registry 'https://registry.npmmirror.com/'
|
||||
#yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp"
|
||||
#yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
|
||||
yarn config set registry 'https://registry.npmmirror.com/'
|
||||
yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp"
|
||||
yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
|
||||
# 官方
|
||||
yarn config delete registry
|
||||
yarn config delete sharp_binary_host
|
||||
yarn config delete sharp_libvips_binary_host
|
||||
#yarn config delete registry
|
||||
#yarn config delete sharp_binary_host
|
||||
#yarn config delete sharp_libvips_binary_host
|
||||
|
||||
yarn cache clean
|
||||
yarn install
|
||||
@@ -34,3 +34,5 @@ rsync -az --delete ./.next/server/ ${OUT_DIR}/.next/server
|
||||
rsync -az --delete "./node_modules/tiktoken/" ${OUT_DIR}/node_modules/tiktoken
|
||||
|
||||
docker network ls | grep -qw chatgpt-ns || docker network create chatgpt-ns
|
||||
docker build -t registry.cn-hangzhou.aliyuncs.com/si-private/chatgpt-next-web:temp -f Dockerfile.linux-build .
|
||||
docker tag registry.cn-hangzhou.aliyuncs.com/si-private/chatgpt-next-web:temp registry.cn-hangzhou.aliyuncs.com/si-private/chatgpt-next-web:latest
|
||||
|
||||
Reference in New Issue
Block a user