This commit is contained in:
admin
2025-12-22 17:30:32 +09:00
parent 87fa1aaa1f
commit 001b7bf08f
12 changed files with 1380 additions and 506 deletions

View File

@@ -118,4 +118,24 @@ updated_reason
可空
例如:金额修正、补录摘要、对账调整
例如:金额修正、补录摘要、对账调整
-------------------------------
/volume1/docker/rc_ollama_bot/
bot.py
① 停掉并删除旧容器(非常关键)
docker stop ollama-rc-bot
docker rm ollama-rc-bot
docker build --no-cache -t ollama-rc-bot .
② 重新 build 镜像(必须)
docker build --no-cache -t ollama-rc-bot .
③ 重新启动容器
docker run -d \
--name ollama-rc-bot \
-p 5100:5005 \
ollama-rc-bot
docker run -d --name ollama-rc-bot -p 5100:5005 ollama-rc-bot
④ 看日志,确认新代码真的在跑
docker logs -f ollama-rc-bot