Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,10 @@ WORKDIR /app
|
|
| 7 |
# Copy the requirements file
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# Install dependencies
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
|
|
|
| 7 |
# Copy the requirements file
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
| 10 |
+
# Set environment variables for Hugging Face and Matplotlib
|
| 11 |
+
ENV TRANSFORMERS_CACHE=/cache/huggingface
|
| 12 |
+
ENV MPLCONFIGDIR=/cache/matplotlib
|
| 13 |
+
|
| 14 |
# Install dependencies
|
| 15 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 16 |
|