Skip to content

Commit ff33afd

Browse files
author
kilingzhang
committed
镜像安装
1 parent c3230a5 commit ff33afd

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@
9090

9191
## 镜像安装
9292

93+
vi /etc/hosts
94+
95+
127.0.0.1 i.music.163.com
96+
9397
docker build -t kilingzhang/netease-cloud-music-api:dev .
9498

9599
docker stop php_container
@@ -99,7 +103,9 @@
99103
-p 80:80 \
100104
kilingzhang/netease-cloud-music-api:dev
101105

102-
docker exec -it php_container sh
106+
curl http://i.music.163.com
107+
108+
{"code":0,"message":"it`s work successfully","data":{"docs":"https:\/\/blog.kilingzhang.com\/NeteaseCloudMusicApi","github":"https:\/\/github.com\/kilingzhang\/NeteaseCloudMusicApi"}}
103109

104110
## 源码安装
105111

0 commit comments

Comments
 (0)