This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Apple Store 专卖店库存监控 | |
* | |
* Docker: | |
* 前台运行 $ docker run --rm -it -v $(pwd):/app --name="apple" node:alpine node /app/apple.js | |
* 后台运行 $ docker run --rm -it -d -v $(pwd):/app --name="apple" node:alpine node /app/apple.js | |
* 后台时实时查看日志 $ docker logs -f -n 100 apple | |
* | |
* 需先: npm i axios | |
* |