Spaces:
Sleeping
Sleeping
| # 1️⃣ Base image | |
| FROM python:3.10-slim | |
| # 2️⃣ Werkomgeving | |
| WORKDIR /app | |
| # 3️⃣ Dependencies installeren | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 4️⃣ Copy de app | |
| COPY . . | |
| # 5️⃣ Expose port | |
| EXPOSE 7860 | |
| # 6️⃣ Start FastAPI server | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |