Spaces:
Sleeping
Sleeping
Update dockerfile
Browse files- dockerfile +3 -1
dockerfile
CHANGED
|
@@ -26,11 +26,13 @@ WORKDIR /app
|
|
| 26 |
|
| 27 |
# Install Python deps first for better layer caching
|
| 28 |
COPY requirements.txt .
|
|
|
|
| 29 |
RUN python -m pip install --upgrade pip setuptools wheel \
|
| 30 |
&& pip install -r requirements.txt \
|
| 31 |
-
&& pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.
|
| 32 |
&& python -m spacy validate
|
| 33 |
|
|
|
|
| 34 |
# Copy the rest of your app
|
| 35 |
COPY . .
|
| 36 |
|
|
|
|
| 26 |
|
| 27 |
# Install Python deps first for better layer caching
|
| 28 |
COPY requirements.txt .
|
| 29 |
+
|
| 30 |
RUN python -m pip install --upgrade pip setuptools wheel \
|
| 31 |
&& pip install -r requirements.txt \
|
| 32 |
+
&& pip install 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 \
|
| 33 |
&& python -m spacy validate
|
| 34 |
|
| 35 |
+
|
| 36 |
# Copy the rest of your app
|
| 37 |
COPY . .
|
| 38 |
|