cors-container是一个 Docker容器的CORS代理。
部署:
Docker(hub)
$ docker pull imjacobclark/cors-container$ docker run --restart=always -d -p 3000:3000 --name cors-container imjacobclark/cors-containerDocker(source)
$ git pull https://github.com/imjacobclark/cors-container.git && cd cors-container$ docker build -t cors-container$ docker run --restart=always -d -p 3000:3000 --name cors-container cors-containerNode
$ git pull https://github.com/imjacobclark/cors-container.git && cd cors-container$ npm run test && npm start
评论