Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -19,8 +19,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
COPY . .
|
| 23 |
|
| 24 |
EXPOSE 7860
|
| 25 |
|
| 26 |
-
CMD ["python", "-m", "app.main"]
|
|
|
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
+
# Download spaCy model
|
| 23 |
+
RUN python -m spacy download en_core_web_sm
|
| 24 |
+
|
| 25 |
COPY . .
|
| 26 |
|
| 27 |
EXPOSE 7860
|
| 28 |
|
| 29 |
+
CMD ["python", "-m", "app.main"]
|