Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -3,6 +3,8 @@ FROM python:3.9
|
|
3 |
# Use root, no custom user
|
4 |
WORKDIR /app
|
5 |
|
|
|
|
|
6 |
# Install all packages globally
|
7 |
COPY requirements.txt requirements.txt
|
8 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
3 |
# Use root, no custom user
|
4 |
WORKDIR /app
|
5 |
|
6 |
+
ENV TRANSFORMERS_CACHE=/app/.hf_cache
|
7 |
+
|
8 |
# Install all packages globally
|
9 |
COPY requirements.txt requirements.txt
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|