Ai
1 Star 0 Fork 28

zhangtantan/euler-copilot-web_dev

forked from openEuler/euler-copilot-web
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 578 Bytes
一键复制 编辑 原始数据 按行查看 历史
吴肉桂 提交于 2025-01-15 17:57 +08:00 . v0.9.3
FROM node:18.18.2-alpine as Builder
RUN mkdir -p /opt/eulerCopilot-web
WORKDIR /opt/eulerCopilot-web
COPY . .
RUN npm install pnpm -g --registry=https://registry.npmmirror.com && \
pnpm install --registry=https://registry.npmmirror.com && \
pnpm run build
FROM nginx:1.21.5
COPY --from=Builder /opt/eulerCopilot-web/dist /usr/share/nginx/html
RUN chmod -R 755 /usr/share/nginx/html
COPY --from=Builder /opt/eulerCopilot-web/deploy/dev/euler_copilot.conf /etc/nginx/conf.d/
ENV RUN_USER nginx
ENV RUN_GROUP nginx
EXPOSE 8080
ENTRYPOINT [ "nginx", "-g", "daemon off;" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zttProjectSpace/euler-copilot-web_dev.git
git@gitee.com:zttProjectSpace/euler-copilot-web_dev.git
zttProjectSpace
euler-copilot-web_dev
euler-copilot-web_dev
master

搜索帮助