Team Ai
Apppublic

Yourify/structured-data-formatter

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1FROM python:3.11-slim2 3WORKDIR /app4 5# We only need wget now; build-essential and git are removed to save space!6RUN apt-get update && apt-get install -y \7    wget \8    && rm -rf /var/lib/apt/lists/*9 10COPY requirements.txt .11 12# Force pip to use the pre-compiled CPU wheels index13RUN pip install --no-cache-dir -r requirements.txt \14    --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu15 16# Download the model weights17RUN wget -O model.gguf https://huggingface.co/Qwen/Qwen2.5-Coder-3B-Instruct-GGUF/resolve/main/qwen2.5-coder-3b-instruct-q4_k_m.gguf18 19COPY . .20 21EXPOSE 786022 23CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]