File size: 384 Bytes
6195f6a
 
 
 
 
 
 
 
 
fe75421
6195f6a
 
 
 
fe75421
 
 
6195f6a
 
7f61e7c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM python:3.11-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

# LLM / inference config
ENV API_BASE_URL=https://router.huggingface.co/v1
ENV MODEL_NAME=Qwen/Qwen2.5-72B-Instruct
ENV PORT=7860

# Enable built-in Gradio web UI at /web (with redirect from /)
ENV ENABLE_WEB_INTERFACE=1

EXPOSE 7860

CMD ["python", "main.py"]