2 Star 0 Fork 0

TommyQu / 搜索

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 603 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
TommyQJR 提交于 2020-11-03 09:33 . feat: 上传
# alinode 4.7.2 对应 Node.js 10.15.3
FROM registry.cn-hangzhou.aliyuncs.com/aliyun-node/alinode:4.7.2
# FROM node:10
WORKDIR /app
# https://medium.com/@aidobreen/using-docker-dont-forget-to-use-build-caching-6e2b4f43771e
# COPY package*.json ./
# RUN npm set
# RUN yarn install --registry http://xnpm.repo.xunlei.cn/
COPY . .
# RUN yarn build
# https://github.com/nuxt/now-builder/issues/64
# RUN rm -rf ./node_modules
# RUN npm install --production
RUN echo "Asia/Shanghai" > /etc/timezone \
&& ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
EXPOSE 3000
CMD ["yarn", "start"]
1
https://gitee.com/tommyqjr/search_project.git
git@gitee.com:tommyqjr/search_project.git
tommyqjr
search_project
搜索
master

搜索帮助