Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -25,6 +25,10 @@ COPY requirements.txt /app/
|
|
| 25 |
RUN pip install --upgrade pip
|
| 26 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
# Copy the FastAPI app code into the container
|
| 29 |
COPY . /app/
|
| 30 |
|
|
|
|
| 25 |
RUN pip install --upgrade pip
|
| 26 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
| 28 |
+
# Install spaCy and download the en_core_web_sm model
|
| 29 |
+
RUN pip install spacy
|
| 30 |
+
RUN python -m spacy download en_core_web_sm
|
| 31 |
+
|
| 32 |
# Copy the FastAPI app code into the container
|
| 33 |
COPY . /app/
|
| 34 |
|