Spaces:
Sleeping

AryaX / Dockerfile
smiit's picture
Fix API_BASE_URL to correct HF inference /v1 endpoint
892a583
Raw History Blame Contribute Delete
459 Bytes
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"]