-
Notifications
You must be signed in to change notification settings - Fork 288
Expand file tree
/
Copy path.dockerignore
More file actions
106 lines (89 loc) · 2.43 KB
/
Copy path.dockerignore
File metadata and controls
106 lines (89 loc) · 2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Git
.git
.gitignore
.gitattributes
# Python
__pycache__
*.py[cod]
*$py.class
*.so
.Python
*.egg-info
*.egg
# Virtual environments (but keep deps/ for local wheels)
.venv
venv
env
ENV
# Node
node_modules
# IDE
.vscode
.idea
*.swp
*.swo
*~
# Logs
logs/
*.log
N.E.K.O/logs/
# Memory and user data (don't include in image)
memory/store/*
config/core_config.json
config/characters.json
config/user_preferences.json
config/voice_storage.json
N.E.K.O/
neko-home/
ssl/
# 同样的用户数据,但在 docker/ 下:维护中的 compose 文件在那里,它的 ./ 相对路径
# 也就落在那里。上面的模式是相对 build context 根的,`N.E.K.O/` 只匹配根级,
# 匹配不到 docker/ 下的同名目录 —— 而文档教的构建命令是在仓库根执行
# `docker build -f docker/Dockerfile .`,于是这些目录会随 `COPY . /app` 进镜像层。
# 里面有用户记忆、角色卡、含 API key 的配置,以及 TLS 私钥。
docker/neko-home/
docker/N.E.K.O/
docker/ssl/
docker/logs/
# Embedding model weights are intentionally NOT ignored: CI pre-fetches the
# pinned revision on the native runner (cached via actions/cache) and ships it in
# the build context so the in-image step runs fully offline — see step 6b in
# docker/Dockerfile{,.full}. That step force-re-downloads when the bundled
# (repo, revision) doesn't match the pin, so a developer's stale/partial local
# copy riding in via `COPY . /app` is corrected rather than shipped.
# Endpointing ONNX weights follow the same contract:
# untracked in git but prepared on the native runner before the build, they ride
# into the context via `COPY . /app` and step 6c verifies them offline against
# main_logic/asr_client/endpointing/models/manifest.json (SHA-256), downloading
# only as a local-build fallback. Keep that directory in context, but ignore
# the obsolete directory so local leftovers cannot duplicate weights.
/data/vad_models
# CAM++ is likewise prepared on the native runner into the package-local
# speaker_shadow/models directory and must remain in the build context. Reject
# the obsolete data/ location so a local checkout cannot ship a second copy.
/data/speaker_models
# Build artifacts
build/
dist/
*.spec
# OS
.DS_Store
Thumbs.db
# Backup
backup/
*.bak
*.tmp
# Large media files
*.mp4
*.avi
*.mov
*.mkv
# Documentation (optional)
docs/
README*.md
LICENSE
CHANGELOG.md
# Test fixtures
plugin/tests/fixtures/
# Local server (not needed in container)
local_server/