mvlick/atisfaction-prediction-api
0
1# =========================================2# 🐍 1️⃣ BASE : image Python officielle légère3# =========================================4FROM python:3.10-slim5 6# =========================================7# ⚙️ 2️⃣ Dossier de travail8# =========================================9WORKDIR /app10 11# =========================================12# 📦 3️⃣ Copie des fichiers nécessaires13# =========================================14COPY requirements.txt .15RUN pip install --no-cache-dir -r requirements.txt16 17# =========================================18# 📦 4️⃣ Copie du reste du code19# =========================================20COPY . .21 22# =========================================23# 🚀 5️⃣ Commande de lancement FastAPI24# =========================================25CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]