Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -10,6 +10,9 @@ RUN apt-get update && apt-get install -y portaudio19-dev
|
|
10 |
# Copy the requirements file into the container at /code
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
|
|
|
|
|
|
13 |
# Install the Python dependencies
|
14 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
15 |
|
|
|
10 |
# Copy the requirements file into the container at /code
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|
13 |
+
# Définir le répertoire du cache des Transformers
|
14 |
+
ENV TRANSFORMERS_CACHE /code/cache
|
15 |
+
|
16 |
# Install the Python dependencies
|
17 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
18 |
|