소스 검색

Update Dockerfile

Andy Esnard 1 년 전
부모
커밋
62fc0e1a60
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  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"]