MogensR commited on
Commit
d14605c
·
1 Parent(s): 729ba5e

Rename .dockerignor to docker/.dockerignor

Browse files
Files changed (1) hide show
  1. .dockerignor → docker/.dockerignor +63 -12
.dockerignor → docker/.dockerignor RENAMED
@@ -36,10 +36,11 @@ Thumbs.db
36
  desktop.ini
37
 
38
  # Python cache (will be regenerated)
39
- __pycache__/
40
  *.pyc
41
  *.pyo
42
  *.pyd
 
43
 
44
  # Virtual environments (should use container environment)
45
  venv/
@@ -47,10 +48,13 @@ env/
47
  .venv/
48
  .env/
49
  ENV/
 
 
50
 
51
  # Logs (container should use stdout/stderr)
52
  *.log
53
  logs/
 
54
 
55
  # Temporary files
56
  *.tmp
@@ -62,30 +66,41 @@ tmp/
62
  build/
63
  dist/
64
  *.egg-info/
 
 
65
 
66
  # Local configuration (use environment variables instead)
67
  config_local.py
68
  .env.local
69
  .secrets
 
 
70
 
71
  # Example and test data (too large for container)
72
- example_videos/
 
73
  test_videos/
74
  sample_data/
75
 
76
- # Model files (should be downloaded at runtime)
77
- models/
78
- *.pt
79
- *.pth
80
- *.ckpt
81
- *.safetensors
 
 
 
 
 
82
 
83
  # Cache directories (will be created fresh)
84
  .cache/
85
  cache/
86
  model_cache/
 
87
 
88
- # Large media files
89
  *.mp4
90
  *.avi
91
  *.mov
@@ -98,12 +113,48 @@ model_cache/
98
  *.gif
99
  *.bmp
100
  *.tiff
 
 
 
101
 
102
- # Development scripts
103
  scripts/dev/
 
104
  dev_tools/
105
  debug/
 
 
 
106
 
107
- # Gradio cache
108
  gradio_cached_examples/
109
- flagged/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  desktop.ini
37
 
38
  # Python cache (will be regenerated)
39
+ **/__pycache__/
40
  *.pyc
41
  *.pyo
42
  *.pyd
43
+ .Python
44
 
45
  # Virtual environments (should use container environment)
46
  venv/
 
48
  .venv/
49
  .env/
50
  ENV/
51
+ env.bak/
52
+ venv.bak/
53
 
54
  # Logs (container should use stdout/stderr)
55
  *.log
56
  logs/
57
+ *.log.*
58
 
59
  # Temporary files
60
  *.tmp
 
66
  build/
67
  dist/
68
  *.egg-info/
69
+ .eggs/
70
+ *.egg
71
 
72
  # Local configuration (use environment variables instead)
73
  config_local.py
74
  .env.local
75
  .secrets
76
+ config/local/
77
+ config/secrets/
78
 
79
  # Example and test data (too large for container)
80
+ examples/videos/
81
+ examples/large_samples/
82
  test_videos/
83
  sample_data/
84
 
85
+ # Model files (should be downloaded at runtime or mounted)
86
+ models/*.pt
87
+ models/*.pth
88
+ models/*.ckpt
89
+ models/*.safetensors
90
+ models/*.bin
91
+ models/weights/
92
+ models/checkpoints/
93
+ # But keep model definitions and loaders
94
+ !models/loaders/
95
+ !models/*.py
96
 
97
  # Cache directories (will be created fresh)
98
  .cache/
99
  cache/
100
  model_cache/
101
+ utils/cache/
102
 
103
+ # Large media files (except examples that should be included)
104
  *.mp4
105
  *.avi
106
  *.mov
 
113
  *.gif
114
  *.bmp
115
  *.tiff
116
+ # But keep essential assets
117
+ !web/static/assets/
118
+ !docs/images/
119
 
120
+ # Development scripts (keep production scripts)
121
  scripts/dev/
122
+ scripts/debug/
123
  dev_tools/
124
  debug/
125
+ # But keep production scripts
126
+ !scripts/deployment/
127
+ !scripts/setup/
128
 
129
+ # Gradio/Web cache
130
  gradio_cached_examples/
131
+ flagged/
132
+ web/cache/
133
+ web/temp/
134
+
135
+ # CLI development files
136
+ cli/debug/
137
+ cli/test_commands/
138
+
139
+ # API development files
140
+ api/mock/
141
+ api/test_endpoints/
142
+
143
+ # Your legacy folders (if not needed in container)
144
+ Configs/backup/
145
+ Logs/archive/
146
+
147
+ # Node modules (if any web components use them)
148
+ node_modules/
149
+ npm-debug.log*
150
+ yarn-debug.log*
151
+ yarn-error.log*
152
+
153
+ # Database files (should use external database)
154
+ *.db
155
+ *.sqlite
156
+ *.sqlite3
157
+
158
+ # Jupyter notebooks (development only)
159
+ *.ipynb
160
+ .ipynb_checkpoints/