1 Star 0 Fork 0

wuyouw/artipub

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile-local 453 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM jelastic/nodejs:8.17.0-npm AS frontend
WORKDIR /app
ADD . /app
RUN npm install --registry=https://registry.npm.taobao.org
RUN npm run build
FROM jelastic/nodejs:8.17.0-npm
RUN yum install -y nginx && yum clean all
COPY --from=frontend /app/dist /frontend
WORKDIR /app
ADD . /app
RUN cp ./backend/package.json . && \
cp /app/nginx/artipub.conf /etc/nginx/conf.d
RUN npm install --registry=https://registry.npm.taobao.org
CMD /app/docker_init.sh
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wuyouw/artipub.git
[email protected]:wuyouw/artipub.git
wuyouw
artipub
artipub
master

搜索帮助