1 Star 0 Fork 0

珠峰是我堆起来的/pure-admin-thin-bak

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 425 Bytes
一键复制 编辑 原始数据 按行查看 历史
huangweii 提交于 2024-09-18 22:56 +08:00 . 初始提交
FROM node:20-alpine as build-stage
WORKDIR /app
RUN corepack enable
RUN corepack prepare pnpm@latest --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 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kunlunsoft/pure-admin-thin-bak.git
git@gitee.com:kunlunsoft/pure-admin-thin-bak.git
kunlunsoft
pure-admin-thin-bak
pure-admin-thin-bak
master

搜索帮助