Spaces:
Sleeping
Sleeping
fix: remove easyocr to reduce Docker image size
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -29,7 +29,7 @@ RUN pip install --no-cache-dir -r requirements.txt && \
|
|
| 29 |
find /usr/local/lib/python3.12 -name "__pycache__" -type d -exec rm -rf {} + 2>/dev/null || true
|
| 30 |
|
| 31 |
# Download spaCy model (pinned to match spacy==3.7.2)
|
| 32 |
-
RUN
|
| 33 |
|
| 34 |
# Copy project files
|
| 35 |
COPY . .
|
|
|
|
| 29 |
find /usr/local/lib/python3.12 -name "__pycache__" -type d -exec rm -rf {} + 2>/dev/null || true
|
| 30 |
|
| 31 |
# Download spaCy model (pinned to match spacy==3.7.2)
|
| 32 |
+
RUN pip install --no-cache-dir https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl
|
| 33 |
|
| 34 |
# Copy project files
|
| 35 |
COPY . .
|