fix spacy and en_core_web_sm errors
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -2,9 +2,11 @@ FROM python:3.10
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
COPY ./requirements.txt /code/requirements.txt
|
|
|
6 |
|
7 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
8 |
|
9 |
# Install spaCy model
|
10 |
RUN python -m spacy download en_core_web_sm
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
# COPY ./requirements.txt /code/requirements.txt
|
6 |
+
COPY ./new_requirements.txt /code/new_requirements.txt
|
7 |
|
8 |
+
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
+
RUN pip install --no-cache-dir --upgrade -r /code/new_requirements.txt
|
10 |
|
11 |
# Install spaCy model
|
12 |
RUN python -m spacy download en_core_web_sm
|