From 599d793b891f42635489473ee018f20f33b3df2c Mon Sep 17 00:00:00 2001 From: ZeYi Lin <944270057@qq.com> Date: Sat, 7 Sep 2024 04:00:26 +0800 Subject: [PATCH] docs: docker -d --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0161f093..d1bfad50 100644 --- a/README.md +++ b/README.md @@ -277,13 +277,13 @@ docker compose build 运行下面的命令,在你的本地访问 [http://127.0.0.1:7860](http://127.0.0.1:7860/) 即可使用。 ```bash -docker run -p 7860:7860 linzeyi/hivision_idphotos +docker run -d -p 7860:7860 linzeyi/hivision_idphotos ``` **启动 API 后端服务** ```bash -docker run -p 8080:8080 linzeyi/hivision_idphotos python3 deploy_api.py +docker run -d -p 8080:8080 linzeyi/hivision_idphotos python3 deploy_api.py ``` **两个服务同时启动**