修正
This commit is contained in:
22
メモ.txt
22
メモ.txt
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user