Add git to Dockerfile for segment-anything install

This commit is contained in:
Claude
2026-01-25 18:25:42 +00:00
parent 8b96c86a94
commit a28b889728
+2 -1
View File
@@ -2,7 +2,7 @@ FROM python:3.11-slim
WORKDIR /app WORKDIR /app
# Install system dependencies for OpenCV, rembg, and image processing # Install system dependencies for OpenCV, rembg, SAM, and image processing
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
libgl1 \ libgl1 \
libglib2.0-0 \ libglib2.0-0 \
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
libxrender-dev \ libxrender-dev \
libgomp1 \ libgomp1 \
wget \ wget \
git \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Copy requirements # Copy requirements