File size: 745 Bytes
2c165bb
 
 
 
 
 
 
 
4c6b7e5
2c165bb
4c6b7e5
2c165bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b93adb0
2c165bb
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"]