Fix: Remove VLM pre-cache to prevent build timeout
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -40,10 +40,8 @@ RUN mkdir -p /app/models \
|
|
| 40 |
COPY requirements.txt .
|
| 41 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 42 |
|
| 43 |
-
#
|
| 44 |
-
|
| 45 |
-
AutoProcessor.from_pretrained('HuggingFaceTB/SmolVLM2-256M-Video-Instruct'); \
|
| 46 |
-
AutoModelForVision2Seq.from_pretrained('HuggingFaceTB/SmolVLM2-256M-Video-Instruct')"
|
| 47 |
|
| 48 |
# Copy Backend Code
|
| 49 |
COPY backend ./backend
|
|
|
|
| 40 |
COPY requirements.txt .
|
| 41 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 42 |
|
| 43 |
+
# Note: SmolVLM model downloads on first use (~500MB)
|
| 44 |
+
# This avoids build timeouts on free tier
|
|
|
|
|
|
|
| 45 |
|
| 46 |
# Copy Backend Code
|
| 47 |
COPY backend ./backend
|