Skip to content

Commit cc2a02c

Browse files
committed
update:docker script
1 parent 676ef1e commit cc2a02c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ KEYWORDS=FileCodeBox,文件快递柜,口令传送箱,匿名口令分享文
119119

120120
### Docker部署
121121
```bash
122-
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/.env:/app/.env -v /opt/FileCodeBox/static/upload:/app/static/upload -v /opt/FileCodeBox/database.db:/app/database.db lanol/filecodebox:latest```
122+
docker run -d --restart=always -p 12345:12345 -v /opt/FileCodeBox/.env:/app/.env -v /opt/FileCodeBox/static/upload:/app/static/upload --name filecodebox lanol/filecodebox:latest
123+
```
123124
### Docker自己构建部署
124125

125126
```bash

0 commit comments

Comments
 (0)