1 Star 0 Fork 114

gwei3/openEuler-portal

forked from openEuler/openEuler-portal 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 575 Bytes
一键复制 编辑 原始数据 按行查看 历史
邦邦邦邦 提交于 2022-09-20 14:24 +08:00 . fix: 更新站点配置
FROM gplane/pnpm as Builder
RUN pnpm -v
RUN mkdir -p /home/openeuler/web
WORKDIR /home/openeuler/web
COPY . /home/openeuler/web
RUN rm -rf ./app/ru
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/openeuler/web/app/.vitepress/dist /usr/share/nginx/html/
RUN chmod -R 755 /usr/share/nginx/html
RUN rm -rf /usr/share/nginx/html/ru
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/gwei3/openEuler-portal.git
git@gitee.com:gwei3/openEuler-portal.git
gwei3
openEuler-portal
openEuler-portal
master

搜索帮助