From 7e26e263d3acf1a9ed54a4426b58c803b6579650 Mon Sep 17 00:00:00 2001 From: zhuweiyou Date: Tue, 25 Jul 2023 14:31:58 +0800 Subject: [PATCH] update docs --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index c921336..485acd0 100644 --- a/readme.md +++ b/readme.md @@ -15,10 +15,10 @@ npm start > 如果 install 失败请参考这里解决 -### Docker 运行 +### Docker 一键部署 ```bash -docker run -d zhuweiyou/yiyan-api:latest -p 3000:3000 +docker run -d --restart=always -p 3000:3000 --name yiyan-api zhuweiyou/yiyan-api:latest ``` ### 登录获取 Cookie