Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -7,6 +7,9 @@ COPY . .
|
|
7 |
# Set the working directory to /
|
8 |
WORKDIR /
|
9 |
|
|
|
|
|
|
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
12 |
|
|
|
7 |
# Set the working directory to /
|
8 |
WORKDIR /
|
9 |
|
10 |
+
# Set the TRANSFORMERS_CACHE environment variable to a directory where the user has write permissions
|
11 |
+
ENV TRANSFORMERS_CACHE=/cache
|
12 |
+
|
13 |
# Install requirements.txt
|
14 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
15 |
|