1 Star 0 Fork 0

harry.zhang/chatbot-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 689 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jungley 提交于 2023-03-25 23:42 +08:00 . feat: Add i18n support for Chinese language (#142)
# ---- Base Node ----
FROM node:19-alpine AS base
WORKDIR /app
COPY package*.json ./
# ---- Dependencies ----
FROM base AS dependencies
RUN npm ci
# ---- Build ----
FROM dependencies AS build
COPY . .
RUN npm run build
# ---- Production ----
FROM node:19-alpine AS production
WORKDIR /app
COPY --from=dependencies /app/node_modules ./node_modules
COPY --from=build /app/.next ./.next
COPY --from=build /app/public ./public
COPY --from=build /app/package*.json ./
COPY --from=build /app/next.config.js ./next.config.js
COPY --from=build /app/next-i18next.config.js ./next-i18next.config.js
# Expose the port the app will run on
EXPOSE 3000
# Start the application
CMD ["npm", "start"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peapea_admin/chatbot-ui.git
git@gitee.com:peapea_admin/chatbot-ui.git
peapea_admin
chatbot-ui
chatbot-ui
google

搜索帮助