VisionSeq / Dockerfile.backend
Antigravity Agent
Upgrade python base image to 3.12-slim to satisfy numpy 2.5.0 requirements
33bb702
Raw
History Blame Contribute Delete
396 Bytes
FROM python:3.12-slim
WORKDIR /app
# Install system dependencies (OpenCV requires libglib2.0-0 and libgl1)
RUN apt-get update && apt-get install -y \
libglib2.0-0 \
libgl1 \
&& rm -rf /var/lib/apt/lists/*
COPY backend/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY backend/ /app/
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]