mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
test pack
This commit is contained in:
parent
6a004421fc
commit
14faccb1a6
14
Dockerfile
14
Dockerfile
@ -1,7 +1,13 @@
|
||||
#FROM registry.cn-hangzhou.aliyuncs.com/sijinhui/node:18-alpine AS base
|
||||
FROM hub.siji.ci/library/node:20-alpine AS base
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
|
||||
RUN apk update && apk add --no-cache git tzdata vips-dev
|
||||
RUN apk update && apk add --no-cache git tzdata
|
||||
RUN apk add --no-cache \
|
||||
vips-dev \
|
||||
fftw-dev \
|
||||
glib-dev \
|
||||
glib \
|
||||
expat-dev
|
||||
# 设置时区环境变量
|
||||
ENV TZ=Asia/Chongqing
|
||||
# 更新并安装时区工具
|
||||
@ -14,9 +20,9 @@ WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
|
||||
RUN yarn config set registry 'https://registry.npmmirror.com/'
|
||||
RUN yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp"
|
||||
RUN yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
|
||||
#RUN yarn config set registry 'https://registry.npmmirror.com/'
|
||||
#RUN yarn config set sharp_binary_host "https://npm.taobao.org/mirrors/sharp"
|
||||
#RUN yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-libvips"
|
||||
#RUN # 清理遗留的缓存
|
||||
RUN yarn cache clean
|
||||
RUN yarn install
|
||||
|
@ -21,7 +21,7 @@
|
||||
"@hello-pangea/dnd": "^16.5.0",
|
||||
"@next-auth/prisma-adapter": "^1.0.7",
|
||||
"@next/third-parties": "^14.2.1",
|
||||
"@prisma/client": "5.13.0",
|
||||
"@prisma/client": "5.12.1",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@vercel/analytics": "^1.1.2",
|
||||
"@vercel/speed-insights": "^1.0.9",
|
||||
@ -59,7 +59,6 @@
|
||||
"zustand": "^4.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@next/bundle-analyzer": "^14.2.3",
|
||||
"@tauri-apps/cli": "1.5.11",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/cookie": "^0.6.0",
|
||||
@ -82,8 +81,7 @@
|
||||
"postcss": "^8.4.33",
|
||||
"prettier": "^3.2.4",
|
||||
"prettier-plugin-tailwindcss": "^0.5.11",
|
||||
"prisma": "^5.13.0",
|
||||
"speed-measure-webpack-plugin": "^1.5.0",
|
||||
"prisma": "^5.12.1",
|
||||
"tailwindcss": "^3.4.1",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"typescript": "^5.3.3",
|
||||
|
Loading…
Reference in New Issue
Block a user