Namo22 commited on
Commit
6706140
1 Parent(s): dbf3eb2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 using Gunicorn
23
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]
 
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"]