garvitcpp commited on
Commit
7e62ac3
·
verified ·
1 Parent(s): 9f87755

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -17,6 +17,10 @@ RUN pip install --no-cache-dir -r requirements.txt
17
  # Pre-download SentenceTransformer model during build
18
  RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('all-MiniLM-L6-v2', cache_folder='/app/models_cache')"
19
 
 
 
 
 
20
  # Copy application code
21
  COPY . .
22
 
 
17
  # Pre-download SentenceTransformer model during build
18
  RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTransformer('all-MiniLM-L6-v2', cache_folder='/app/models_cache')"
19
 
20
+ # Force cache invalidation - change this value to rebuild
21
+ ARG CACHEBUST=2025-12-03-13:30:00
22
+ RUN echo "Cache bust: $CACHEBUST"
23
+
24
  # Copy application code
25
  COPY . .
26