Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,8 @@ 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 |
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /code
|
| 6 |
|
| 7 |
+
ENV TRANSFORMERS_CACHE=/code/.cache
|
| 8 |
+
|
| 9 |
# Copy the requirements.txt file into the container at /code
|
| 10 |
COPY requirements.txt /code/requirements.txt
|
| 11 |
|