This commit is contained in:
hailin 2025-05-18 12:41:50 +08:00
parent 0bca362da8
commit a125ab498a
1 changed files with 5 additions and 4 deletions

View File

@ -48,11 +48,12 @@ COPY --from=s3build /app/dist /dist
#CMD ["node", "dist/start/server.js"]
#============================================ chatai-ui ========================================================
FROM node:18.20.6 AS chataibuilder
FROM nvcr.io/nvidia/tritonserver:24.04-py3-min AS chataibuilder
# 安装指定版本的 npm 和 pm2
RUN npm install -g npm@10.8.2 \
&& npm install -g pm2@5.4.3
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get update && \
apt-get install -y nodejs && \
npm install -g npm@10.8.2 pnpm@10.9.0
WORKDIR /app