add docker instructions to readme

This commit is contained in:
Hiller Liao
2022-01-30 19:09:14 +08:00
parent 941f860fe2
commit 2d98a05937

View File

@@ -52,3 +52,9 @@ flask run
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hillerliao/RSSHub-python)
记得在环境变量中把FLASK_CONFIG设为production
### Docker 部署
制作镜像文件 `docker image build -t rsshub_python .`
创建docker容器 `docker run -dit -p 6666:6666 --name rsshub rsshub_python`