Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -12,7 +12,7 @@ COPY requirements.txt .
|
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
# Pre-download Hugging Face model (optional but recommended)
|
| 15 |
-
RUN python -c "from transformers import pipeline; pipeline('summarization', model='
|
| 16 |
|
| 17 |
# Copy app code
|
| 18 |
COPY ./app ./app
|
|
|
|
| 12 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
|
| 14 |
# Pre-download Hugging Face model (optional but recommended)
|
| 15 |
+
RUN python -c "from transformers import pipeline; pipeline('summarization', model='philschmid/bart-large-cnn-samsum')"
|
| 16 |
|
| 17 |
# Copy app code
|
| 18 |
COPY ./app ./app
|