# Folosim imagine oficială Python FROM python:3.11-slim # Setăm workdir WORKDIR /app # Copiem fișiere COPY requirements.txt . COPY app.py . # Instalăm dependențele RUN pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir -r requirements.txt # Expunem portul standard HF Spaces EXPOSE 7860 # Launch app CMD ["python", "app.py"]