Video-Rag / Dockerfile
Hammad712's picture
Update Dockerfile
ce28aa1 verified
raw
history blame contribute delete
471 Bytes
# Changed from 3.10 to 3.11 to support networkx 3.5
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
libgl1 \
libglib2.0-0 \
build-essential \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY . .
# Hugging Face Spaces port
EXPOSE 7860
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]