1 Star 0 Fork 3

hutubaba/search_with_ai

forked from zac/search_with_ai 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 630 Bytes
一键复制 编辑 原始数据 按行查看 历史
yokingma 提交于 2024-07-16 22:38 . update: dockerfile
FROM node:20 AS build
COPY . /app
# RUN yarn config set registry https://mirrors.cloud.tencent.com/npm/
WORKDIR /app
RUN yarn install && yarn run build
WORKDIR /app/web
RUN yarn install && yarn run build
FROM node:20-alpine
WORKDIR /app
# Install dotenvx
RUN curl -fsS https://dotenvx.sh/ | sh
COPY .env /app
COPY --from=build /app/dist ./dist
COPY --from=build /app/backend ./backend
COPY --from=build /app/web/build ./web/build
COPY --from=build /app/package.json ./
# RUN yarn config set registry https://mirrors.cloud.tencent.com/npm/
RUN yarn install --production && yarn cache clean
EXPOSE 3000
CMD yarn run start
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/hutu88/search_with_ai.git
git@gitee.com:hutu88/search_with_ai.git
hutu88
search_with_ai
search_with_ai
main

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385