0 Star 0 Fork 208

ailoooong / openGauss-blog

forked from openGauss / blog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 518 Bytes
一键复制 编辑 原始数据 按行查看 历史
ailoooong 提交于 2023-02-27 17:34 . fix:Nginx
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;"]
1
https://gitee.com/ailoooong/openGauss-blog.git
git@gitee.com:ailoooong/openGauss-blog.git
ailoooong
openGauss-blog
openGauss-blog
v2

搜索帮助

53164aa7 5694891 3bd8fe86 5694891