Skip to content

Commit 9dfbdd2

Browse files
committed
feat(docker): 添加 Docker 使用说明,并在.dockerignore 中包含 config.json
1 parent 72186f3 commit 9dfbdd2

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ docs/
5858
!go.mod
5959
!go.sum
6060
!Dockerfile
61+
config.json
62+
.env

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ services:
1111
- TZ=Asia/Shanghai
1212
volumes:
1313
- ./data:/home/appuser/data
14-
- ./config.json:/home/appuser/config.json:ro
14+
- ./config.json:/home/appuser/config.json
1515
command: ["/home/appuser/zerobot-plugin", "-c", "/home/appuser/config.json"]
1616
user: "1000:1000"

0 commit comments

Comments
 (0)