提交 bc128897 作者: 王南南

更新 Dockerfile

上级 41baeb86
流水线 #38503 已通过 于阶段
in 2 分 1 秒
FROM registry.cn-beijing.aliyuncs.com/qianjia_public/mygitbook as build-stage FROM registry.cn-beijing.aliyuncs.com/qianjia_public/mygitbook as build-stage
WORKDIR /app WORKDIR /app
COPY * ./ COPY * ./
RUN gitbook install && gitbook build RUN gitbook init && gitbook install && gitbook build
FROM registry-vpc.cn-beijing.aliyuncs.com/qianjia2018/qianjia_public:dist-nginx as production-stage FROM registry-vpc.cn-beijing.aliyuncs.com/qianjia2018/qianjia_public:dist-nginx as production-stage
COPY --from=build-stage /app/_book /usr/share/nginx/html COPY --from=build-stage /app/_book /usr/share/nginx/html
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论