1 Star 0 Fork 58

纯洁的微笑 / Artipub

forked from 泡泡机不冒泡了 / Artipub 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 401 Bytes
一键复制 编辑 原始数据 按行查看 历史
泡泡机不冒泡了 提交于 2021-02-25 21:08 . 调整镜像构建脚本
FROM jelastic/nodejs:15.9.0-npm AS frontend
WORKDIR /app
ADD ./frontend /app
RUN npm install
RUN npm run build
FROM jelastic/nodejs:15.9.0-npm
RUN yum install -y nginx && yum clean all
COPY --from=frontend /app/dist /frontend
WORKDIR /app
ADD ./backend ./docker_init.sh ./nginx /app/
RUN cp /app/artipub.conf /etc/nginx/conf.d/artipub.conf
RUN npm install
EXPOSE 3000 8000
CMD /app/docker_init.sh
JavaScript
1
https://gitee.com/ityouknow/artipub.git
git@gitee.com:ityouknow/artipub.git
ityouknow
artipub
Artipub
master

搜索帮助