FROM python:3.11-slim WORKDIR /app COPY ../requirements.txt /app/requirements.txt RUN pip install --no-cache-dir -r requirements.txt COPY . /app ENV HF_HOME=/app/.cache/hf_cache CMD ["python", "app.py"]