Add git to Dockerfile for pip install from GitHub (v2.0.7)

This commit is contained in:
2026-02-08 15:09:08 +01:00
parent a9775c0e6f
commit 52adc9fdee
2 changed files with 6 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ RUN apk add --no-cache \
ffmpeg \
gcc \
musl-dev \
python3-dev
python3-dev \
git
# Set working directory
WORKDIR /app
@@ -17,6 +18,9 @@ WORKDIR /app
COPY requirements.txt .
RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt
# Remove git after installation to reduce image size
RUN apk del git gcc musl-dev python3-dev
# Copy application files
COPY run.sh .
COPY sip_service.py .