2 Star 13 Fork 18

TangSengDaoDao/TangSengDaoDaoWeb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 534 Bytes
一键复制 编辑 原始数据 按行查看 历史
tangtaoit 提交于 2023-07-06 09:30 . init
FROM node:16.13.0 as builder
WORKDIR /app
RUN curl -o- -L https://yarnpkg.com/install.sh | bash
RUN yarn config set registry https://registry.npm.taobao.org -g
RUN npm config set registry https://registry.npm.taobao.org
COPY . .
RUN yarn install && yarn 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/apps/web/build /usr/share/nginx/html
ENTRYPOINT ["sh", "/docker-entrypoint2.sh"]
CMD ["nginx","-g","daemon off;"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/TangSengDaoDao/TangSengDaoDaoWeb.git
git@gitee.com:TangSengDaoDao/TangSengDaoDaoWeb.git
TangSengDaoDao
TangSengDaoDaoWeb
TangSengDaoDaoWeb
main

搜索帮助

D67c1975 1850385 1daf7b77 1850385