FROM python:3.11-slim WORKDIR /app RUN pip install --no-cache-dir aiohttp httpx huggingface_hub COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh EXPOSE 7860 ENTRYPOINT ["/entrypoint.sh"]