mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-03 22:42:09 +08:00
增加Dockerfile,支持以Docker容器模式运行 #165
This commit is contained in:
parent
7a354cdd15
commit
480b1696eb
@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
## 版本新特性
|
## 版本新特性
|
||||||
|
### 2.8.2 | 2018.01.05
|
||||||
|
增加Dockerfile,支持以Docker容器模式运行
|
||||||
|
|
||||||
### 2.8.1 | 2018.01.04
|
### 2.8.1 | 2018.01.04
|
||||||
添加了proxy功能
|
添加了proxy功能
|
||||||
|
@ -29,6 +29,8 @@ fetch(url)
|
|||||||
```
|
```
|
||||||
|
|
||||||
## 版本新特性
|
## 版本新特性
|
||||||
|
### 2.8.2 | 2018.01.05
|
||||||
|
增加Dockerfile,支持以Docker容器模式运行
|
||||||
|
|
||||||
### 2.8.1 | 2018.01.04
|
### 2.8.1 | 2018.01.04
|
||||||
添加了proxy功能
|
添加了proxy功能
|
||||||
@ -133,6 +135,11 @@ windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
|
|||||||
$ set PORT=4000 && node app.js
|
$ set PORT=4000 && node app.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Docker容器运行
|
||||||
|
```shell
|
||||||
|
docker pull pengxiao/netease-music-api
|
||||||
|
docker run -d -p 3000:3000 pengxiao/netease-music-api
|
||||||
|
```
|
||||||
|
|
||||||
## 接口文档
|
## 接口文档
|
||||||
### 调用前须知
|
### 调用前须知
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "2.8.1",
|
"version": "2.8.2",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user