FROM python:3.10-slim # Allow outbound internet (HF disables it only for default SDKs) ENV HF_HUB_ENABLE_HF_TRANSFER=1 WORKDIR /app COPY . /app RUN pip install --no-cache-dir -r requirements.txt # Expose the Flask port (7860 for HF) EXPOSE 7860 CMD ["python", "flask_app.py"]