Update Dockerfile
Browse files- 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 |
|