wuyan123258 commited on
Commit
fca5c6a
·
verified ·
1 Parent(s): 425176d

Create .dockerignore

Browse files
Files changed (1) hide show
  1. .dockerignore +35 -0
.dockerignore ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 排除Git相关文件
2
+ .git/
3
+ .gitignore
4
+
5
+ # 排除Python虚拟环境
6
+ venv/
7
+ env/
8
+ .venv/
9
+
10
+ # 排除缓存和日志文件
11
+ __pycache__/
12
+ *.pyc
13
+ *.pyo
14
+ .pytest_cache/
15
+ .pytest_cache/
16
+ .cache
17
+
18
+ # 排除大型数据文件或已下载的模型(如果模型计划在构建时下载或从HF Hub加载)
19
+ data/
20
+ models/
21
+ *.pth
22
+ *.bin
23
+ *.h5
24
+ *.zip
25
+ *.tar.gz
26
+
27
+ # 排除IDE配置文件
28
+ .vscode/
29
+ .idea/
30
+ *.swp
31
+ *.swo
32
+
33
+ # 排除可能存在的本地下载缓存(如果使用HF_HOME环境变量指定了项目内缓存,此项很重要)
34
+ # 注意:如果设置了HF_HOME为项目内目录,请确保不忽略该目录,或选择在构建时下载模型
35
+ .model_cache/