🐛 完善Docker打包镜像命令

This commit is contained in:
李寻欢 2020-12-05 14:25:47 +08:00
parent c83df12bdc
commit 522cc9e132
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@
### 食用方式
```shell
# 编译镜像
docker build -t sms_miai .
# 运行镜像
docker build --net=host -t sms_miai .
# 运行容器
docker run -itd --name sms_miai --restart=always -e MIUSER=小米账号 -e MIPWD=小米密码 -p 18888:18888 sms_miai
```