64 Star 659 Fork 310

闪酷 / cool-admin-vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 442 Bytes
一键复制 编辑 原始数据 按行查看 历史
神仙都没用 提交于 2022-07-21 19:07 . 发布5.7.0
FROM node:lts-alpine
WORKDIR /build
# 设置Node-Sass的镜像地址
RUN npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
# 设置npm镜像
RUN npm config set registry https://registry.npm.taobao.org
COPY package.json /build/package.json
RUN yarn
COPY ./ /build
RUN npm run build
FROM nginx
RUN mkdir /app
COPY --from=0 /build/dist /app
COPY --from=0 /build/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
1
https://gitee.com/cool-team-official/cool-admin-vue.git
git@gitee.com:cool-team-official/cool-admin-vue.git
cool-team-official
cool-admin-vue
cool-admin-vue
5.x

搜索帮助