Ver Fonte

Update Dockerfile

Andy Esnard há 1 ano atrás
pai
commit
62fc0e1a60
1 ficheiros alterados com 1 adições e 4 exclusões
  1. 1 4
      Dockerfile

+ 1 - 4
Dockerfile

@@ -5,13 +5,10 @@ FROM python:3.12
 WORKDIR /opt/chatbot
 
 # Copier le fichier des dépendances dans le conteneur
-COPY requirements.txt .
+COPY . .
 
 # Installer les dépendances
 RUN pip install --no-cache-dir -r requirements.txt
 
-# Copier le reste du code
-COPY . .
-
 # Spécifier la commande pour lancer l'application
 CMD ["python", "chatbot.py"]