Spaces:
Sleeping
Sleeping
| FROM python:3.10-slim | |
| # Çalışma dizinini ayarla | |
| WORKDIR /app | |
| # Gerekli dosyaları kopyala | |
| COPY requirements.txt requirements.txt | |
| COPY app.py app.py | |
| COPY face_shape_model.h5 face_shape_model.h5 | |
| # Bağımlılıkları yükle | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Uvicorn ile FastAPI başlat | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |