FROM debian:bookworm-slim # Install dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ python3 \ python3-pip \ python3-flask \ python3-requests \ ffmpeg \ linphone-cli \ && rm -rf /var/lib/apt/lists/* # Set working directory WORKDIR /app # Copy requirements and install Python dependencies COPY requirements.txt . RUN pip3 install --break-system-packages -r requirements.txt || pip3 install -r requirements.txt # Copy application files COPY run.sh . COPY sip_service.py . COPY services.yaml . RUN chmod +x /app/run.sh CMD [ "/app/run.sh" ]