CoolFace
Apppublic

fatyidha/FaceShapeAPI

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile15 linesDownload Raw Back to root
1FROM python:3.10-slim2 3# Çalışma dizinini ayarla4WORKDIR /app5 6# Gerekli dosyaları kopyala7COPY requirements.txt requirements.txt8COPY app.py app.py9COPY face_shape_model.h5 face_shape_model.h510 11# Bağımlılıkları yükle12RUN pip install --no-cache-dir -r requirements.txt13 14# Uvicorn ile FastAPI başlat15CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]