Synced repo using 'sync_with_huggingface' Github Action
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -16,12 +16,14 @@ RUN mkdir -p /app/chroma_db && chmod -R 777 /app/chroma_db
|
|
| 16 |
COPY requirements.txt .
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
COPY . .
|
| 20 |
|
| 21 |
RUN chmod +x /app/entrypoint.sh
|
| 22 |
RUN mkdir -p /app/data && chmod -R 777 /app/data
|
| 23 |
|
| 24 |
-
|
| 25 |
EXPOSE 8501
|
| 26 |
|
| 27 |
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
|
|
| 16 |
COPY requirements.txt .
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
+
# Add spaCy model download
|
| 20 |
+
RUN python -m spacy download en_core_web_sm # Critical fix [1][2]
|
| 21 |
+
|
| 22 |
COPY . .
|
| 23 |
|
| 24 |
RUN chmod +x /app/entrypoint.sh
|
| 25 |
RUN mkdir -p /app/data && chmod -R 777 /app/data
|
| 26 |
|
|
|
|
| 27 |
EXPOSE 8501
|
| 28 |
|
| 29 |
ENTRYPOINT ["/app/entrypoint.sh"]
|