Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
# Use an official Python runtime as the base image
|
2 |
FROM python:3.10
|
3 |
|
|
|
|
|
|
|
|
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
1 |
# Use an official Python runtime as the base image
|
2 |
FROM python:3.10
|
3 |
|
4 |
+
# Set environment variables for Hugging Face cache (FIX: Use /tmp)
|
5 |
+
ENV TRANSFORMERS_CACHE=/tmp
|
6 |
+
ENV HF_HOME=/tmp
|
7 |
+
ENV HF_MODULES_CACHE=/tmp
|
8 |
+
|
9 |
# Set the working directory in the container
|
10 |
WORKDIR /app
|
11 |
|