19 Star 100 Fork 79

ymm-tech/gods-pen-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 381 Bytes
一键复制 编辑 原始数据 按行查看 历史
weimingyuan 提交于 2020-03-06 18:33 +08:00 . 调整dockerfile配置
FROM node:10.13
COPY . /app
WORKDIR /app
RUN npm install pm2@3.5.0 -g --registry=https://registry.npm.taobao.org
RUN make install-lib
RUN chmod +x /app/docker-entrypoint.sh
ONBUILD COPY ./config.yaml /app
ONBUILD RUN node ./config-parser.js
ONBUILD RUN make build-all
ENTRYPOINT [ "./docker-entrypoint.sh" ]
CMD ["pm2-runtime", "start", "process.json", "--env=docker"]
EXPOSE 7051
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ymm-tech/gods-pen-server.git
git@gitee.com:ymm-tech/gods-pen-server.git
ymm-tech
gods-pen-server
gods-pen-server
master

搜索帮助