1 Star 0 Fork 0

磊磊/vue-pure-admin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 425 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM node:18-alpine as build-stage
WORKDIR /app
RUN corepack enable
RUN corepack prepare [email protected] --activate
RUN npm config set registry https://registry.npmmirror.com
COPY .npmrc package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/wangxiaoxiaolei/vue-pure-admin.git
[email protected]:wangxiaoxiaolei/vue-pure-admin.git
wangxiaoxiaolei
vue-pure-admin
vue-pure-admin
main

搜索帮助