amine_dubs
commited on
Commit
·
9f23223
1
Parent(s):
6241879
Fix: Add python-multipart and set HF cache directory
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -9,7 +9,8 @@ WORKDIR /app
|
|
| 9 |
# This ensures the container has write permissions for downloading models/tokenizers
|
| 10 |
RUN mkdir -p /app/.cache
|
| 11 |
ENV HF_HOME=/app/.cache
|
| 12 |
-
|
|
|
|
| 13 |
|
| 14 |
# Copy the requirements file into the container at /app
|
| 15 |
# Copy only requirements first to leverage Docker layer caching
|
|
|
|
| 9 |
# This ensures the container has write permissions for downloading models/tokenizers
|
| 10 |
RUN mkdir -p /app/.cache
|
| 11 |
ENV HF_HOME=/app/.cache
|
| 12 |
+
# Also set TRANSFORMERS_CACHE for good measure
|
| 13 |
+
ENV TRANSFORMERS_CACHE=/app/.cache
|
| 14 |
|
| 15 |
# Copy the requirements file into the container at /app
|
| 16 |
# Copy only requirements first to leverage Docker layer caching
|