Initial commit: SIP Voice Notifier v2 - single add-on with integrated service
This commit is contained in:
25
sip-notifier/Dockerfile
Normal file
25
sip-notifier/Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
ARG BUILD_FROM
|
||||
FROM $BUILD_FROM
|
||||
|
||||
# Install system dependencies
|
||||
RUN apk add --no-cache \
|
||||
python3 \
|
||||
py3-pip \
|
||||
py3-pjsua2 \
|
||||
ffmpeg \
|
||||
alsa-lib
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy requirements and install Python dependencies
|
||||
COPY requirements.txt .
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application files
|
||||
COPY run.sh .
|
||||
COPY sip_service.py .
|
||||
|
||||
RUN chmod +x /app/run.sh
|
||||
|
||||
CMD [ "/app/run.sh" ]
|
||||
Reference in New Issue
Block a user