FROM python:3.13-slim RUN apt-get update && apt-get install -y git sed RUN git clone https://github.com/renqabs/ta2a.git /app WORKDIR /app # RUN sed -i 's/\/v1\/chat\/completions/\/hf\/v1\/chat\/completions/g' src/app.py # RUN sed -i 's/\/v1\/models/\/hf\/v1\/models/g' src/app.py RUN pip install --no-cache-dir annotated-types==0.7.0 \ anyio==4.9.0 \ certifi==2025.1.31 \ click==8.1.8 \ colorama==0.4.6 \ fastapi==0.115.12 \ h11==0.14.0 \ httpcore==1.0.7 \ httpx==0.28.1 \ httpx-sse==0.4.0 \ idna==3.10 \ pydantic==2.11.2 \ pydantic-core==2.33.1 \ python-dotenv==1.1.0 \ sniffio==1.3.1 \ starlette==0.46.1 \ typing-extensions==4.13.1 \ typing-inspection==0.4.0 \ uvicorn==0.34.0 EXPOSE 8000 CMD ["python", "server.py"]