提交 0e75dfe7 编写于 作者: P Peng Xiao

增加Dockerfile,支持以Docker容器模式运行。

上级 c3bbc951
FROM mhart/alpine-node:8
WORKDIR /app
COPY . /app
RUN npm install
EXPOSE 3000
CMD ["node", "app.js"]
......@@ -180,6 +180,12 @@ windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
$ set PORT=4000 && node app.js
```
## Docker容器运行
```shell
docker pull pengxiao/netease-music-api
docker run -d -p 3000:3000 pengxiao/netease-music-api
```
## 使用文档
[文档地址](https://binaryify.github.io/NeteaseCloudMusicApi)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册