frugalvox

A tiny VoIP IVR framework by hackers, for hackers
git clone git://git.luxferre.top/frugalvox.git
Log | Files | Refs | README | LICENSE

Dockerfile (504B)


      1 FROM python:3.10-slim-bullseye
      2 USER root
      3 WORKDIR /usr/src/app
      4 RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list
      5 RUN apt-get update -y && apt-get install -y libttspico-utils espeak-ng espeak-ng-data espeak-ng-espeak flite mbrola-*
      6 COPY requirements.txt ./
      7 COPY pyVoIP-1.6.4.patched-py3-none-any.whl ./
      8 RUN pip install --no-cache-dir -r requirements.txt
      9 COPY fvx.py ./
     10 VOLUME /opt/config
     11 WORKDIR /opt/config
     12 ENTRYPOINT ["python", "-u", "/usr/src/app/fvx.py", "/opt/config/config.yaml"]