FROM python:3.10-slim ENV HF_HOME=/app/cache ENV DOCKER=true WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY app app COPY cache cache CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]