We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker run -it -d --network=host --name=QQMusicApi -e QQ=指定qq号 registry.cn-hangzhou.aliyuncs.com/yumbo/qq_music_api:1.0
端口还是默认的3300
上面的镜像是我自己构造并上传到了阿里云的镜像仓库,所以直接输入命令执行就可以运行起来了
FROM node WORKDIR /root/QQMusicApi # 通过git clone https://github.com/jsososo/QQMusicApi.git得到源码包 # cd QQMusicApi && npm install && cd .. 回到上一级相对路径,也就是安装完依赖后的源码包需要复制到node镜像中 # 下面的 ./QQMusicApi是已经安装好依赖的源码包 COPY ./QQMusicApi /root/QQMusicApi EXPOSE 3300 # Define default command. ENTRYPOINT cd /root/QQMusicApi && npm start /root/QQMusicApi # 构建完后会得到镜像的id # 然后通过 docker run -it -d --network=host --name=QQMusicApi -e QQ=指定qq号 镜像id 启动镜像即可
The text was updated successfully, but these errors were encountered:
No branches or pull requests
将下面的中文部分,也就是输入自己的会员账号即可,然后通过setCookie操作就行了
端口还是默认的3300
上面的镜像是我自己构造并上传到了阿里云的镜像仓库,所以直接输入命令执行就可以运行起来了
DockerFile源码是
The text was updated successfully, but these errors were encountered: