1 Star 0 Fork 37

zhaopufeng/education-cloud-web-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 405 Bytes
一键复制 编辑 原始数据 按行查看 历史
wgw 提交于 2020-03-31 17:19 . 修改docker打包问题
# build stage
FROM node:10.15 as build-stage
MAINTAINER williewu
RUN npm config set registry https://registry.npm.taobao.org
WORKDIR /app
COPY . .
RUN npm install
RUN npm run build
# production stage
FROM nginx:1.17.9-alpine as production-stage
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/pufeng/education-cloud-web-admin.git
git@gitee.com:pufeng/education-cloud-web-admin.git
pufeng
education-cloud-web-admin
education-cloud-web-admin
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385