23 Star 299 Fork 310

zym/pure-admin-thin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 425 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiaoxian521 提交于 2024-08-20 09:33 . release: update 5.8.0
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 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/yiming_chang/pure-admin-thin.git
git@gitee.com:yiming_chang/pure-admin-thin.git
yiming_chang
pure-admin-thin
pure-admin-thin
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385