Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -5,6 +5,9 @@ FROM python:3.9
|
|
5 |
RUN useradd -u 1000 user
|
6 |
ENV PATH="/home/user/.local/bin:$PATH"
|
7 |
|
|
|
|
|
|
|
8 |
# Set the working directory inside the container
|
9 |
WORKDIR /app
|
10 |
|
|
|
5 |
RUN useradd -u 1000 user
|
6 |
ENV PATH="/home/user/.local/bin:$PATH"
|
7 |
|
8 |
+
# Set a writable cache directory for Hugging Face Transformers
|
9 |
+
ENV TRANSFORMERS_CACHE="/app/.cache"
|
10 |
+
|
11 |
# Set the working directory inside the container
|
12 |
WORKDIR /app
|
13 |
|