Spaces:
Sleeping

File size: 459 Bytes
85ee7d0
 
 
 
 
 
bf3aca3
4835868
aa9d14f
85ee7d0
 
d40fd69
aa9d14f
892a583
0445d40
dd82d4f
b23f827
f9c6cbc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.11-slim

WORKDIR /app

COPY requirements.txt .

RUN pip install --no-cache-dir --upgrade pip \
    && pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 7860

ENV API_BASE_URL="https://api-inference.huggingface.co/v1" \
    MODEL_NAME="HuggingFaceH4/zephyr-7b-beta"

# cache bust: 2026-04-26
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "120", "--log-level", "debug", "--capture-output", "server:app"]