Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -10,14 +10,11 @@ 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 |
-
# 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 |
|
19 |
# Copy the current directory contents into the container at /code
|
20 |
COPY . .
|
21 |
|
22 |
-
# Define the command to start the Flask app
|
23 |
-
CMD ["
|
|
|
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 |
|
16 |
# Copy the current directory contents into the container at /code
|
17 |
COPY . .
|
18 |
|
19 |
+
# Define the command to start the Flask app
|
20 |
+
CMD ["python", "main.py"]
|