FROM python:3.10-slim RUN apt-get update && apt-get install -y gcc g++ make # Hugging Face Spaces özel dizinleri + izin RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache ENV HF_HOME=/app/.cache \ HF_DATASETS_CACHE=/app/.cache \ HF_HUB_CACHE=/app/.cache WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY app.py . CMD ["python", "app.py"]