File size: 1,002 Bytes
10d339c
 
 
 
65e6b09
10d339c
b3ec254
10d339c
65e6b09
10d339c
 
b3ec254
 
 
2ca5026
b3ec254
 
10d339c
 
 
 
bc6516c
10d339c
 
 
 
 
a3a4921
10d339c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM python:3.10-slim

WORKDIR /app

# Install minimal system dependencies (OpenBLAS + OpenMP for the prebuilt wheel)
RUN apt-get update && apt-get install -y \
    libopenblas-dev \
    libopencc-dev \
    libgomp1 \
    && rm -rf /var/lib/apt/lists/*

# Install llama-cpp-python from prebuilt wheel (FAST - no build needed!)
RUN pip install --no-cache-dir \
    https://huggingface.co/Luigi/llama-cpp-python-wheels-hf-spaces-free-cpu/resolve/main/llama_cpp_python-0.3.22-cp310-cp310-linux_x86_64.whl

# Copy and install other requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy application files
COPY app.py .
COPY meeting_summarizer/ meeting_summarizer/

# Pre-download model on build (optional, speeds up first run)
# RUN python -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='unsloth/Qwen3-0.6B-GGUF', filename='Qwen3-0.6B-Q4_K_M.gguf', local_dir='./models')"

EXPOSE 7860
# Cache bust: 2026-02-01-v1

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