Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -4,9 +4,11 @@ FROM python:3.9-slim
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /code
|
6 |
|
|
|
7 |
# Copy the requirements.txt file into the container at /code
|
8 |
COPY requirements.txt /code/requirements.txt
|
9 |
|
|
|
10 |
# Install any dependencies specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /code
|
6 |
|
7 |
+
ENV TRANSFORMERS_CACHE=/code/.cache
|
8 |
# Copy the requirements.txt file into the container at /code
|
9 |
COPY requirements.txt /code/requirements.txt
|
10 |
|
11 |
+
|
12 |
# Install any dependencies specified in requirements.txt
|
13 |
RUN pip install --no-cache-dir -r requirements.txt
|
14 |
|