This commit is contained in:
parent
a674903255
commit
1fb6a6faf1
24
Dockerfile
24
Dockerfile
|
|
@ -50,22 +50,22 @@ COPY --from=s3build /app/dist /dist
|
||||||
#============================================ chatdesk-ui ========================================================
|
#============================================ chatdesk-ui ========================================================
|
||||||
FROM nvcr.io/nvidia/tritonserver:24.04-py3-min AS chataibuilder
|
FROM nvcr.io/nvidia/tritonserver:24.04-py3-min AS chataibuilder
|
||||||
|
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
# RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
||||||
apt-get update && \
|
# apt-get update && \
|
||||||
apt-get install -y nodejs && \
|
# apt-get install -y nodejs && \
|
||||||
npm install -g npm@10.8.2 pnpm@10.9.0
|
# npm install -g npm@10.8.2 pnpm@10.9.0
|
||||||
|
|
||||||
WORKDIR /app
|
# WORKDIR /app
|
||||||
|
|
||||||
# 拷贝依赖文件并安装生产依赖
|
# # 拷贝依赖文件并安装生产依赖
|
||||||
COPY chatdesk-ui/package.json chatdesk-ui/package-lock.json ./
|
# COPY chatdesk-ui/package.json chatdesk-ui/package-lock.json ./
|
||||||
RUN npm ci
|
# RUN npm ci
|
||||||
|
|
||||||
# 拷贝全部源码
|
# # 拷贝全部源码
|
||||||
COPY chatdesk-ui/. .
|
# COPY chatdesk-ui/. .
|
||||||
|
|
||||||
# 构建项目
|
# # 构建项目
|
||||||
RUN npm run build
|
# RUN npm run build
|
||||||
|
|
||||||
|
|
||||||
#============================================ gotrue build======================================================
|
#============================================ gotrue build======================================================
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue