AbrahamKlb commited on
Commit
573587a
·
verified ·
1 Parent(s): 0c4968c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -20,8 +20,6 @@ RUN pip install --no-cache-dir --upgrade pip && \
20
  pip install --no-cache-dir -r requirements.txt
21
 
22
 
23
-
24
-
25
  # Copier le code de l’application
26
  COPY * /app
27
 
@@ -59,4 +57,4 @@ EXPOSE 7860
59
  HEALTHCHECK CMD curl --fail http://localhost:7860/health || exit 1
60
 
61
  # Commande pour lancer l’application
62
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"]
 
20
  pip install --no-cache-dir -r requirements.txt
21
 
22
 
 
 
23
  # Copier le code de l’application
24
  COPY * /app
25
 
 
57
  HEALTHCHECK CMD curl --fail http://localhost:7860/health || exit 1
58
 
59
  # Commande pour lancer l’application
60
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]