diff --git a/Dockerfile b/Dockerfile index 12e2a05..be3088f 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,12 @@ FROM python:3.9-slim -# On force la racine du projet comme répertoire de travail WORKDIR /app -# On installe les dépendances COPY app/requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -# On copie TOUT le contenu du dossier local app dans le WORKDIR (/app) COPY app/ . -# Exposer le port EXPOSE 8000 -# On lance avec le chemin complet explicite CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file