Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,8 @@ FROM python:3.11-slim
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /code
|
| 6 |
|
|
|
|
|
|
|
| 7 |
# Copy the system dependencies file and install them
|
| 8 |
# We need tesseract for OCR on images (used by unstructured)
|
| 9 |
COPY packages.txt .
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /code
|
| 6 |
|
| 7 |
+
ENV HF_HOME=/tmp/huggingface_cache
|
| 8 |
+
|
| 9 |
# Copy the system dependencies file and install them
|
| 10 |
# We need tesseract for OCR on images (used by unstructured)
|
| 11 |
COPY packages.txt .
|