1 Star 0 Fork 17

arther999/Magicodes.Admin.UI

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 390 Bytes
一键复制 编辑 原始数据 按行查看 历史
# STEP 1: Build
FROM node:11-alpine as builder
RUN mkdir /ng-app
WORKDIR /ng-app
COPY package.json ./
RUN yarn
COPY . .
RUN yarn run publish-dev
# STEP 2: Setup
FROM nginx:1.17.3-alpine
COPY --from=builder /ng-app/_nginx/default.conf /etc/nginx/conf.d/
RUN rm -rf /usr/share/nginx/html/*
COPY --from=builder /ng-app/dist /usr/share/nginx/html
CMD [ "nginx", "-g", "daemon off;"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/arther999/Magicodes.Admin.UI.git
git@gitee.com:arther999/Magicodes.Admin.UI.git
arther999
Magicodes.Admin.UI
Magicodes.Admin.UI
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385