1 Star 0 Fork 192

邹锦达 / crystal-ci

forked from 林鹿 / crystal-ci 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 589 Bytes
一键复制 编辑 原始数据 按行查看 历史
邹锦达 提交于 2021-07-31 16:21 . change dockfile
FROM node:lts-alpine3.14 as Builder
MAINTAINER zhangxiaopan<zhangxiaopan2@huawei.com>
RUN mkdir -p /home/openeuler/crystal-ci-web
WORKDIR /home/openeuler/crystal-ci-web
COPY . /home/openeuler/crystal-ci-web
RUN npm install && \
npm run build
FROM nginx:1.20.0
COPY --from=Builder /home/openeuler/crystal-ci-web/dist /usr/share/nginx/html/
RUN chmod -R 755 /usr/share/nginx/html
COPY ./deploy/nginx/nginx.conf /etc/nginx/nginx.conf
#COPY ./deploy/nginx/default.conf /etc/nginx/conf.d/
ENV RUN_USER nginx
ENV RUN_GROUP nginx
EXPOSE 8080
ENTRYPOINT ["nginx", "-g", "daemon off;"]
1
https://gitee.com/zou_jinda/crystal-ci.git
git@gitee.com:zou_jinda/crystal-ci.git
zou_jinda
crystal-ci
crystal-ci
master

搜索帮助