Spaces:
Sleeping
Sleeping
Update dockerfile
Browse files- dockerfile +8 -3
dockerfile
CHANGED
|
@@ -28,9 +28,14 @@ WORKDIR /app
|
|
| 28 |
COPY requirements.txt .
|
| 29 |
|
| 30 |
RUN python -m pip install --upgrade pip setuptools wheel \
|
| 31 |
-
&& pip install -r requirements.txt
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
# Copy the rest of your app
|
| 36 |
COPY . .
|
|
|
|
| 28 |
COPY requirements.txt .
|
| 29 |
|
| 30 |
RUN python -m pip install --upgrade pip setuptools wheel \
|
| 31 |
+
&& pip install -r requirements.txt
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
RUN pip install --no-deps \
|
| 36 |
+
"en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.2.0/en_core_web_sm-3.2.0-py3-none-any.whl" \
|
| 37 |
+
&& python -m spacy validate
|
| 38 |
+
|
| 39 |
|
| 40 |
# Copy the rest of your app
|
| 41 |
COPY . .
|