Add git to Dockerfile for pip install from GitHub (v2.0.7)
This commit is contained in:
@@ -8,7 +8,8 @@ RUN apk add --no-cache \
|
|||||||
ffmpeg \
|
ffmpeg \
|
||||||
gcc \
|
gcc \
|
||||||
musl-dev \
|
musl-dev \
|
||||||
python3-dev
|
python3-dev \
|
||||||
|
git
|
||||||
|
|
||||||
# Set working directory
|
# Set working directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
@@ -17,6 +18,9 @@ WORKDIR /app
|
|||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip3 install --no-cache-dir --break-system-packages -r 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 application files
|
||||||
COPY run.sh .
|
COPY run.sh .
|
||||||
COPY sip_service.py .
|
COPY sip_service.py .
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: "SIP Voice Notifier"
|
name: "SIP Voice Notifier"
|
||||||
version: "2.0.6"
|
version: "2.0.7"
|
||||||
slug: "sip-notifier"
|
slug: "sip-notifier"
|
||||||
description: "Send voice notifications via SIP phone calls"
|
description: "Send voice notifications via SIP phone calls"
|
||||||
arch:
|
arch:
|
||||||
|
|||||||
Reference in New Issue
Block a user