1 Star 0 Fork 14

极速代码/TangSengDaoDaoManager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 434 Bytes
一键复制 编辑 原始数据 按行查看 历史
tangtaoit 提交于 2023-08-09 14:46 . feat: add deploy script
FROM node:16.20.1 as builder
WORKDIR /app
RUN npm config set registry https://registry.npm.taobao.org
RUN npm install pnpm -g
COPY . .
RUN pnpm install && pnpm build
FROM nginx:latest
COPY --from=builder /app/docker-entrypoint.sh /docker-entrypoint2.sh
COPY --from=builder /app/nginx.conf.template /
COPY --from=builder /app/dist /usr/share/nginx/html
ENTRYPOINT ["sh", "/docker-entrypoint2.sh"]
CMD ["nginx","-g","daemon off;"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/andy521/TangSengDaoDaoManager.git
git@gitee.com:andy521/TangSengDaoDaoManager.git
andy521
TangSengDaoDaoManager
TangSengDaoDaoManager
main

搜索帮助