Spaces:
Sleeping
Sleeping
Update dockerfile setting
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,13 @@ COPY . .
|
|
| 4 |
|
| 5 |
WORKDIR /
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# --- Debugging lines ---
|
| 8 |
RUN ls -la /
|
| 9 |
RUN cat /requirements.txt
|
|
|
|
| 4 |
|
| 5 |
WORKDIR /
|
| 6 |
|
| 7 |
+
# Set the Hugging Face cache directory
|
| 8 |
+
ENV TRANSFORMERS_CACHE=/tmp/huggingface_cache
|
| 9 |
+
RUN mkdir -p /tmp/huggingface_cache
|
| 10 |
+
|
| 11 |
+
# Install OpenGL library for OpenCV
|
| 12 |
+
RUN apt-get update && apt-get install -y libgl1
|
| 13 |
+
|
| 14 |
# --- Debugging lines ---
|
| 15 |
RUN ls -la /
|
| 16 |
RUN cat /requirements.txt
|