Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -18,11 +18,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 18 |
COPY app.py .
|
| 19 |
|
| 20 |
# Set environment variables for Hugging Face cache
|
| 21 |
-
ENV TRANSFORMERS_CACHE=/
|
| 22 |
-
ENV HF_HOME=/
|
| 23 |
-
|
| 24 |
-
# Create cache directory
|
| 25 |
-
RUN mkdir -p /app/cache
|
| 26 |
|
| 27 |
# Expose port
|
| 28 |
EXPOSE 8000
|
|
|
|
| 18 |
COPY app.py .
|
| 19 |
|
| 20 |
# Set environment variables for Hugging Face cache
|
| 21 |
+
ENV TRANSFORMERS_CACHE=/tmp
|
| 22 |
+
ENV HF_HOME=/tmp
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
# Expose port
|
| 25 |
EXPOSE 8000
|