1 Star 0 Fork 93

Frank7Zeng/website

forked from openGauss/website 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 518 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM gplane/pnpm as Builder
RUN pnpm -v
RUN mkdir -p /home/opengauss/web
WORKDIR /home/opengauss/web
COPY . /home/opengauss/web
RUN pnpm install
RUN pnpm build
FROM swr.cn-north-4.myhuaweicloud.com/opensourceway/openeuler/nginx:1.22.0-22.03-lts
COPY --from=Builder /home/opengauss/web/app/.vitepress/dist /usr/share/nginx/html/
RUN chmod -R 755 /usr/share/nginx/html
COPY ./deploy/nginx/nginx.conf /etc/nginx/nginx.conf
ENV RUN_USER nginx
ENV RUN_GROUP nginx
EXPOSE 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/frank7zeng/website.git
[email protected]:frank7zeng/website.git
frank7zeng
website
website
v2

搜索帮助