This commit is contained in:
parent
40bb974a7b
commit
1e30ab8923
|
|
@ -410,6 +410,7 @@ COPY --from=s3final migrations /supabase/storage-api/migrations
|
|||
|
||||
#========================================= chatai-ui ========================================================
|
||||
# 拷贝依赖声明并安装仅生产依赖
|
||||
WORKDIR /supabase/chatai-ui
|
||||
COPY chatbot-ui/package.json supabase/chatai-ui/
|
||||
RUN npm install --omit=dev
|
||||
|
||||
|
|
@ -419,5 +420,6 @@ COPY --from=chataibuilder /app/public supabase/chatai-ui/public
|
|||
COPY --from=chataibuilder /app/node_modules supabase/chatai-ui/node_modules
|
||||
COPY --from=chataibuilder /app/package.json supabase/chatai-ui/package.json
|
||||
|
||||
WORKDIR /
|
||||
ENV NODE_ENV=production
|
||||
EXPOSE 3000
|
||||
Loading…
Reference in New Issue