CoolFace
Apppublic

meta-scaler/procurement

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
Dockerfile21 linesDownload Raw Back to root
1FROM python:3.11-slim2 3WORKDIR /app4 5# Install curl for health check6RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*7 8COPY . .9 10RUN pip install --no-cache-dir uv && uv pip install --system -e .11 12EXPOSE 786013 14# Safe default — validator overrides at runtime15ENV MODEL_NAME=Qwen/Qwen2.5-7B-Instruct16 17COPY start.sh /app/start.sh18RUN chmod +x /app/start.sh19 20# HF Space: just run the server. The validator handles inference separately.21CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]