mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-17 15:09:31 +00:00
add docker instructions to readme
This commit is contained in:
@@ -52,3 +52,9 @@ flask run
|
|||||||
[](https://heroku.com/deploy?template=https://github.com/hillerliao/RSSHub-python)
|
[](https://heroku.com/deploy?template=https://github.com/hillerliao/RSSHub-python)
|
||||||
|
|
||||||
记得在环境变量中把FLASK_CONFIG设为production
|
记得在环境变量中把FLASK_CONFIG设为production
|
||||||
|
|
||||||
|
### Docker 部署
|
||||||
|
|
||||||
|
制作镜像文件 `docker image build -t rsshub_python .`
|
||||||
|
|
||||||
|
创建docker容器 `docker run -dit -p 6666:6666 --name rsshub rsshub_python`
|
||||||
|
|||||||
Reference in New Issue
Block a user