瀏覽代碼

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"]