# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker FROM python:3.10-bullseye ADD main.py . WORKDIR /app COPY requirements.txt requirements.txt RUN pip install -r requirements.txt COPY . . CMD ["uvicorn", "main:app", "--host", "0.0.0.0" , "--port", "8000"] # Sistem güncellemeleri ve temel bağımlılıkların kurulumu RUN apt-get update && apt-get install -y \ build-essential \ && rm -rf /var/lib/apt/lists/*